- Issue created by @Taran2L
- Merge request !12#3467171 Add paragraph button incorrectly triggers HTML5 validation on the whole form β (Open) created by Taran2L
- Status changed to Needs review
9 months ago 1:52pm 9 August 2024
Upon clicking the add button, HTML5 validation is being triggered on the whole form, which is an incorrect behaviour
Drupal core add more / Paragraphs add more do not follow this pattern and skip the validation
- Do not fill node title
- Click on Add button, HTML5 validation will be triggered
- Add #limit_validation_errors to the browse button (matches core/paragraphs behaviour)
- Core then add formnovalidate HTML attribute which will prevent browser validation
Review MR
Opening paragraphs browser won't be triggering HTML5 validation anymore
None
None
Needs review
1.0
Code