You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I have multiple forms in a crud page (for example create a new associationfield with a modal), when you press submit button from the modal it will validate the main form.
To Reproduce
EasyAdmin 4.14
Create a new custom form with a submit button in any crud edit/new page and click the submit button.
Additional context
Debugging I think it's because of form.js "#createFieldsWithErrors" function.
handleFieldsWithErrors function is listening to any submit button of the document, I think this should filter submit buttons that are only for given form:
Describe the bug
When I have multiple forms in a crud page (for example create a new associationfield with a modal), when you press submit button from the modal it will validate the main form.
To Reproduce
EasyAdmin 4.14
Create a new custom form with a submit button in any crud edit/new page and click the submit button.
Additional context
Debugging I think it's because of form.js "#createFieldsWithErrors" function.
handleFieldsWithErrors function is listening to any submit button of the document, I think this should filter submit buttons that are only for given form:
The text was updated successfully, but these errors were encountered: