Task #94681
closedMissing "required" argument for some form viewhelpers
0%
Description
Some fluid form viewhelpers allow to define a field as required using the viewhelper argument required
and others do not. For those who do not, an integrator must use additionalAttributes
attribute to add the HTML5 required attribute to the input field.
In order to streamline the usage of the fluid form viewhelpers, all viewhelpers rendering input fields that supports the HTML5 required attribute, should provide the a required
argument.
Updated by Torben Hansen over 3 years ago
- Subject changed from Missing "required" attribute for some form viewhelpers to Missing "required" argument for some form viewhelpers
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70170
Updated by Rémy DANIEL about 3 years ago
- Related to Feature #87074: Checkbox and Radio ViewHelper should have a required argument added
Updated by Rémy DANIEL about 3 years ago
Hi.
There is already a review https://review.typo3.org/c/Packages/TYPO3.CMS/+/59027 with two blockers.
Updated by Torben Hansen about 3 years ago
- Status changed from Under Review to Rejected
Thanks for pointing me to the discussion in that patch. I think it is better to keep things as they are at the moment and to just use additionalAttributes
in order to add required
attributes to the viewHelpers.