Commit 08f71888 authored by Tomita Militaru's avatar Tomita Militaru Committed by Susanne Moog
Browse files

[FEATURE] Add additionalAttributes to formDefinitions renderingOptions

Resolves: #89551
Releases: master
Change-Id: I3f88c949564c9726ab84f22d3e5f593858faa464
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62201


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarChristian Eßl <indy.essl@gmail.com>
Tested-by: Björn Jacob's avatarBjörn Jacob <bjoern.jacob@tritum.de>
Tested-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarTobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Henning Liebe's avatarHenning Liebe <h.liebe@neusta.de>
Reviewed-by: default avatarFelix P. <f.pachowsky@neusta.de>
Reviewed-by: default avatarSascha Rademacher <sascha.rademacher+typo3@gmail.com>
Reviewed-by: default avatarSteffen Frese <steffenf14@gmail.com>
Reviewed-by: default avatarChristian Eßl <indy.essl@gmail.com>
Reviewed-by: Björn Jacob's avatarBjörn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
parent 98f1f28f
.. include:: ../../Includes.txt
===================================================================
Feature: #89551 - Add fluidAdditionalAttributes to the form element
===================================================================
See :issue:`89551`
Description
===========
Allows to configure fluidAdditionalAttributes within form element:
`TYPO3:
CMS:
Form:
prototypes:
standard:
formElementsDefinition:
Form:
renderingOptions:
fluidAdditionalAttributes:
novalidate: 'novalidate'
Impact
======
For projects using it's own Form template, the following attribute can be set on viewhelper formvh:form as attribute:
`additionalAttributes="{formvh:translateElementProperty(element: form, property: 'fluidAdditionalAttributes')}"`
.. index:: Fluid, ext:form
......@@ -10,6 +10,7 @@
addQueryString="{form.renderingOptions.addQueryString}"
argumentsToBeExcludedFromQueryString="{form.renderingOptions.argumentsToBeExcludedFromQueryString}"
additionalParams="{form.renderingOptions.additionalParams}"
additionalAttributes="{formvh:translateElementProperty(element: form, property: 'fluidAdditionalAttributes')}"
>
<f:render partial="{form.currentPage.templateName}" arguments="{page: form.currentPage}" />
<div class="actions">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment