Skip to content

Commit 8d360d9

Browse files
committed
Documented the Overridden Options of the Text type
1 parent ecd68c5 commit 8d360d9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

reference/forms/types/text.rst

+14
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ The text field represents the most basic input text field.
99
+-------------+--------------------------------------------------------------------+
1010
| Rendered as | ``input`` ``text`` field |
1111
+-------------+--------------------------------------------------------------------+
12+
| Overridden | - `compound`_ |
13+
| Options | |
14+
+-------------+--------------------------------------------------------------------+
1215
| Inherited | - `data`_ |
1316
| options | - `disabled`_ |
1417
| | - `empty_data`_ |
@@ -27,6 +30,17 @@ The text field represents the most basic input text field.
2730
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType` |
2831
+-------------+--------------------------------------------------------------------+
2932

33+
Overridden Options
34+
------------------
35+
36+
compound
37+
~~~~~~~~
38+
39+
**type**: ``boolean`` **default**: ``false``
40+
41+
This option specifies if the type is compound. This is independent of whether
42+
the type actually has children. A type can be compound but not have any
43+
children at all.
3044

3145
Inherited Options
3246
-----------------

0 commit comments

Comments
 (0)