Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 976f61c

Browse filesBrowse files
nykopolweaverryan
authored andcommitted
document auto_initialize overriden option
1 parent d85a165 commit 976f61c
Copy full SHA for 976f61c

File tree

Expand file treeCollapse file tree

2 files changed

+11
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+11
-0
lines changed

‎reference/forms/types/button.rst

Copy file name to clipboardExpand all lines: reference/forms/types/button.rst
+4Lines changed: 4 additions & 0 deletions
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
+7Lines changed: 7 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.