Closed swim closed 1 year ago
Hi,
Sorry that I have not seen your issue and PR before.
I faced the issue with the new release of Field Group and fixed it during DrupalCon Prague 2022: https://git.drupalcode.org/project/ui_patterns/-/commit/0aae8d8fd5364ee0465426c0f5eece46da8c6316
It would have saved me time to use directly your PR.
The field group module reorders form alter hooks to make theirs run last. The ui pattern field group module adds a submit handler to the front of the submit array but for this to work as expected the field_group form alter needs to run before. This patch ensures the ui pattern field group form alters run after field_group, setting the correct submit handler order.
Please see, https://git.drupalcode.org/project/field_group/-/commit/dbdf8ba3962b4f8595436eb9153eb32f9b10900b