When showing forms with pat-validation enabled inside pat-plone-modal, disabling the submit button(s) on validation errors doesn't work.
Background
Since pat-plone-modal moves all form actions into the modal-footer (which is outside the original form node) the disabledSelector parameter for pat-validation doesn't find the correct submit button (actually it finds the hidden button inside the modal form 😒 )
When showing forms with
pat-validationenabled insidepat-plone-modal, disabling the submit button(s) on validation errors doesn't work.Background
Since
pat-plone-modalmoves all form actions into themodal-footer(which is outside the original form node) thedisabledSelectorparameter forpat-validationdoesn't find the correct submit button (actually it finds the hidden button inside the modal form 😒 )