Project

General

Profile

Actions

Task #94681

closed

Missing "required" argument for some form viewhelpers

Added by Torben Hansen over 3 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2021-07-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #87074: Checkbox and Radio ViewHelper should have a required argumentUnder Review2018-12-04

Actions
Actions #1

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
Actions #2

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

Actions #3

Updated by Rémy DANIEL about 3 years ago

  • Related to Feature #87074: Checkbox and Radio ViewHelper should have a required argument added
Actions #4

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.

Actions #5

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.

Actions

Also available in: Atom PDF