Skip to content

Commit

Permalink
Documented the Overridden Options of the Text type
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jun 4, 2015
1 parent ecd68c5 commit 8d360d9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions reference/forms/types/text.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ The text field represents the most basic input text field.
+-------------+--------------------------------------------------------------------+
| Rendered as | ``input`` ``text`` field |
+-------------+--------------------------------------------------------------------+
| Overridden | - `compound`_ |
| Options | |
+-------------+--------------------------------------------------------------------+
| Inherited | - `data`_ |
| options | - `disabled`_ |
| | - `empty_data`_ |
Expand All @@ -27,6 +30,17 @@ The text field represents the most basic input text field.
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType` |
+-------------+--------------------------------------------------------------------+

Overridden Options
------------------

compound
~~~~~~~~

**type**: ``boolean`` **default**: ``false``

This option specifies if the type is compound. This is independent of whether
the type actually has children. A type can be compound but not have any
children at all.

Inherited Options
-----------------
Expand Down

0 comments on commit 8d360d9

Please sign in to comment.