Skip to content

Commit 1b695b5

Browse files
committed
bug symfony#4063 fix parent form types (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- fix parent form types | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | part of symfony#2360 The parent type of both the email type and the textarea type is not the form type but instead the text type. Commits ------- 0af354f fix parent form types
2 parents a4bdb97 + 0af354f commit 1b695b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reference/forms/types/email.rst

+1-1
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

+1-1
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)