Skip to content

Commit

Permalink
document auto_initialize overriden option
Browse files Browse the repository at this point in the history
  • Loading branch information
nykopol committed Jan 3, 2014
1 parent 07a168a commit 39f92e9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reference/forms/types/button.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ A simple, non-responsive button.
| | - `label_attr`_ |
| | - `translation_domain`_ |
+----------------------+----------------------------------------------------------------------+
| Overridden Options | - `auto_initialize` |
+----------------------+----------------------------------------------------------------------+
| Parent type | none |
+----------------------+----------------------------------------------------------------------+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ButtonType` |
Expand All @@ -35,3 +37,5 @@ Options
.. include:: /reference/forms/types/options/label_attr.rst.inc

.. include:: /reference/forms/types/options/button_translation_domain.rst.inc

.. include:: /reference/forms/types/options/button_auto_initialize.rst.inc
7 changes: 7 additions & 0 deletions reference/forms/types/options/button_auto_initialize.rst.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
auto_initialize
~~~~~~~~~~~~~~~

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

Sets whether the form should be initialized automatically. This option is
not modifiable as buttons do not support automatic initialization.

1 comment on commit 39f92e9

@nykopol
Copy link
Owner Author

@nykopol nykopol commented on 39f92e9 Jan 3, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit should be a new PR for symfony#3412

Please sign in to comment.