Skip to content

Commit 19e3e30

Browse files
authored
Warn about using form fields in Fluid components
1 parent 841556f commit 19e3e30

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Documentation/Global/Form/Index.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,23 @@ where (optional and configurable) validation occurs.
113113
Only valid data is passed on to the action and stored in
114114
the database.
115115

116+
.. _typo3-fluid-form-components:
117+
118+
Using f:form.<somefield> in Fluid components
119+
============================================
120+
121+
.. warning::
122+
123+
Form input fields like the `Form.textfield ViewHelper <f:form.textfield> <https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-form-textfield>`_
124+
need to find their parent form `<f:form>` within the rendering context.
125+
126+
They cannot be used in Fluid Components in TYPO3 13.4.
127+
128+
In `Components <https://docs.typo3.org/permalink/fluid:components>`_
129+
(introduced with Fluid 4.3) a new rendering context is created for
130+
each Fluid component. Therefore form fields loose the connection
131+
to their parent form and cannot be used.
132+
116133
.. _typo3-fluid-form-arguments:
117134

118135
Arguments of the form ViewHelper

0 commit comments

Comments
 (0)