Skip to content

Commit 39f92e9

Browse files
committed
document auto_initialize overriden option
1 parent 07a168a commit 39f92e9

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

reference/forms/types/button.rst

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ A simple, non-responsive button.
1818
| | - `label_attr`_ |
1919
| | - `translation_domain`_ |
2020
+----------------------+----------------------------------------------------------------------+
21+
| Overridden Options | - `auto_initialize` |
22+
+----------------------+----------------------------------------------------------------------+
2123
| Parent type | none |
2224
+----------------------+----------------------------------------------------------------------+
2325
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ButtonType` |
@@ -35,3 +37,5 @@ Options
3537
.. include:: /reference/forms/types/options/label_attr.rst.inc
3638

3739
.. include:: /reference/forms/types/options/button_translation_domain.rst.inc
40+
41+
.. include:: /reference/forms/types/options/button_auto_initialize.rst.inc
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
auto_initialize
2+
~~~~~~~~~~~~~~~
3+
4+
**type**: ``boolean`` **default**: ``false``
5+
6+
Sets whether the form should be initialized automatically. This option is
7+
not modifiable as buttons do not support automatic initialization.

0 commit comments

Comments
 (0)