Feature #89551

Add additionalAttributes to formDefinitions renderingOptions

Added by Andreas Sturmberger 22 days ago. Updated 14 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2019-10-30
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

Currently, via form definition files, it is only possible to set additionalParams.
Adding additionalAttributes is only possible, if you override the Form.html with your own Extension.

So this should be possible:


TYPO3:
  CMS:
    Form:
      prototypes:
        standard:
          formElementsDefinition:
            Form:
              renderingOptions:
                additionalAttributes:
                  novalidate: 'novalidate'

If you add

additionalAttributes="{form.renderingOptions.additionalAttributes}" 

to the typo3/sysext/form/Resources/Private/Frontend/Templates/Form.html

History

#1 Updated by Gerrit Code Review 16 days 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/+/62201

#2 Updated by Gerrit Code Review 14 days ago

Patch set 2 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/+/62201

#3 Updated by Gerrit Code Review 14 days ago

Patch set 3 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/+/62201

Also available in: Atom PDF