Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit58170fe

Browse files
committed
document the auto_initialize option for the form type, refssymfony#3410
1 parent2ca0306 commit58170fe

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

‎reference/forms/types/form.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ on all types for which ``form`` is the parent type.
3636
|| - `label`_|
3737
|| - `attr`_|
3838
|| - `translation_domain`_|
39+
|| - `auto_initialize`_|
3940
+-----------+--------------------------------------------------------------------+
4041
| Parent| none|
4142
+-----------+--------------------------------------------------------------------+
@@ -121,3 +122,5 @@ of the form type tree (i.e. it can not be used as a form type on its own).
121122
..include::/reference/forms/types/options/attr.rst.inc
122123

123124
..include::/reference/forms/types/options/translation_domain.rst.inc
125+
126+
..include::/reference/forms/types/options/auto_initialize.rst.inc
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
auto_initialize
2+
~~~~~~~~~~~~~~~
3+
4+
**type**: ``boolean`` **default**: ``true``
5+
6+
An internal option: sets whether the form should be initialized automatically.
7+
Forall fields, this option shouldonly be ``true``for root forms. You won't
8+
need to change this option and probably won't needto worry about it.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp