Skip to content

Commit 0af354f

Browse files
committed
fix parent form types
The parent type of both the email type and the textarea type is not the form type but instead the text type.
1 parent a5ad0df commit 0af354f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reference/forms/types/email.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The ``email`` field is a text field that is rendered using the HTML5
2323
| | - `error_mapping`_ |
2424
| | - `mapped`_ |
2525
+-------------+---------------------------------------------------------------------+
26-
| Parent type | :doc:`form </reference/forms/types/form>` |
26+
| Parent type | :doc:`text </reference/forms/types/text>` |
2727
+-------------+---------------------------------------------------------------------+
2828
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\EmailType` |
2929
+-------------+---------------------------------------------------------------------+

reference/forms/types/textarea.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Renders a ``textarea`` HTML element.
2222
| | - `error_mapping`_ |
2323
| | - `mapped`_ |
2424
+-------------+------------------------------------------------------------------------+
25-
| Parent type | :doc:`form </reference/forms/types/form>` |
25+
| Parent type | :doc:`text </reference/forms/types/text>` |
2626
+-------------+------------------------------------------------------------------------+
2727
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\TextareaType` |
2828
+-------------+------------------------------------------------------------------------+

0 commit comments

Comments
 (0)