[BUGFIX] Show validation errors for fields with legend in form engine
Since #97330, a form engine elements label might not be represented by a <label> tag, but by using a <legend> tag. This patch now ensures that those elements are also correctly considered within form engine validation. Resolves: #101221 Related: #97330 Releases: main, 12.4 Change-Id: Iac4ef9b198bd7a7b8c75e53b83e45117be348c98 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79636 Reviewed-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de>
Showing
- Build/Sources/Sass/typo3/_main_form.scss 2 additions, 1 deletionBuild/Sources/Sass/typo3/_main_form.scss
- Build/Sources/TypeScript/backend/form-engine-review.ts 6 additions, 1 deletionBuild/Sources/TypeScript/backend/form-engine-review.ts
- typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php 1 addition, 1 deletion...sext/backend/Classes/Form/Element/AbstractFormElement.php
- typo3/sysext/backend/Resources/Public/Css/backend.css 1 addition, 1 deletiontypo3/sysext/backend/Resources/Public/Css/backend.css
- typo3/sysext/backend/Resources/Public/JavaScript/form-engine-review.js 1 addition, 1 deletion...backend/Resources/Public/JavaScript/form-engine-review.js
Please register or sign in to comment