Problem/Motivation
If you use (vertical) tabs, clicking the dialog button opens the first tab with validation errors. I don't think we want to validate the form when opening the dialog.
Steps to reproduce
Configure a content type with (vertical) tabs and add mandatory fields in them. Make sure there are no validation errors in the first tab or you can't see the issue.
After clicking the dialog button you'll see that the next tab is active when closing the dialog.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | paragraphs_ee-dialog-validation-3289838-4.patch | 1.07 KB | falc0 |
| #3 | paragraphs_ee-dialog-validation-3289838-3.patch | 734 bytes | falc0 |
| #2 | paragraphs_ee-dialog-validation-3289838-2.patch | 838 bytes | falc0 |
Comments
Comment #2
falc0 commentedComment #3
falc0 commentedPatch for latest version.
Comment #4
falc0 commentedAdded the formnovalidate on each button.
Comment #6
stborchertThanks for your patch. I've updated the current code with your changes.