File tree Expand file tree Collapse file tree 23 files changed +166
-17
lines changed Expand file tree Collapse file tree 23 files changed +166
-17
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,16 @@ Overridden Options
115
115
------------------
116
116
117
117
.. include :: /reference/forms/types/options/empty_data.rst.inc
118
+ :end-before: DEFAULT_PLACEHOLDER
119
+
120
+ The actual default value of this option depends on other field options:
121
+
122
+ * If ``multiple `` is ``false `` and ``expanded `` is ``false ``, then ``'' ``
123
+ (empty string);
124
+ * Otherwise ``array() `` (empty array).
125
+
126
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
127
+ :start-after: DEFAULT_PLACEHOLDER
118
128
119
129
compound
120
130
~~~~~~~~
Original file line number Diff line number Diff line change @@ -360,6 +360,12 @@ error_bubbling
360
360
.. include :: /reference/forms/types/options/by_reference.rst.inc
361
361
362
362
.. include :: /reference/forms/types/options/empty_data.rst.inc
363
+ :end-before: DEFAULT_PLACEHOLDER
364
+
365
+ The default value is ``array() `` (empty array).
366
+
367
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
368
+ :start-after: DEFAULT_PLACEHOLDER
363
369
364
370
.. include :: /reference/forms/types/options/required.rst.inc
365
371
Original file line number Diff line number Diff line change @@ -76,6 +76,16 @@ These options inherit from the :doc:`choice </reference/forms/types/choice>` typ
76
76
These options inherit from the :doc: `form </reference/forms/types/form >` type:
77
77
78
78
.. include :: /reference/forms/types/options/empty_data.rst.inc
79
+ :end-before: DEFAULT_PLACEHOLDER
80
+
81
+ The actual default value of this option depends on other field options:
82
+
83
+ * If ``multiple `` is ``false `` and ``expanded `` is ``false ``, then ``'' ``
84
+ (empty string);
85
+ * Otherwise ``array() `` (empty array).
86
+
87
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
88
+ :start-after: DEFAULT_PLACEHOLDER
79
89
80
90
.. include :: /reference/forms/types/options/required.rst.inc
81
91
Original file line number Diff line number Diff line change @@ -66,6 +66,16 @@ These options inherit from the :doc:`choice</reference/forms/types/choice>` type
66
66
These options inherit from the :doc: `form</reference/forms/types/form> ` type:
67
67
68
68
.. include :: /reference/forms/types/options/empty_data.rst.inc
69
+ :end-before: DEFAULT_PLACEHOLDER
70
+
71
+ The actual default value of this option depends on other field options:
72
+
73
+ * If ``multiple `` is ``false `` and ``expanded `` is ``false ``, then ``'' ``
74
+ (empty string);
75
+ * Otherwise ``array() `` (empty array).
76
+
77
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
78
+ :start-after: DEFAULT_PLACEHOLDER
69
79
70
80
.. include :: /reference/forms/types/options/required.rst.inc
71
81
Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:
36
36
.. include :: /reference/forms/types/options/max_length.rst.inc
37
37
38
38
.. include :: /reference/forms/types/options/empty_data.rst.inc
39
+ :end-before: DEFAULT_PLACEHOLDER
40
+
41
+ The default value is ``'' `` (the empty string).
42
+
43
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
44
+ :start-after: DEFAULT_PLACEHOLDER
39
45
40
46
.. include :: /reference/forms/types/options/required.rst.inc
41
47
Original file line number Diff line number Diff line change @@ -212,6 +212,16 @@ These options inherit from the :doc:`choice </reference/forms/types/choice>` typ
212
212
These options inherit from the :doc: `form </reference/forms/types/form >` type:
213
213
214
214
.. include :: /reference/forms/types/options/empty_data.rst.inc
215
+ :end-before: DEFAULT_PLACEHOLDER
216
+
217
+ The actual default value of this option depends on other field options:
218
+
219
+ * If ``multiple `` is ``false `` and ``expanded `` is ``false ``, then ``'' ``
220
+ (empty string);
221
+ * Otherwise ``array() `` (empty array).
222
+
223
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
224
+ :start-after: DEFAULT_PLACEHOLDER
215
225
216
226
.. include :: /reference/forms/types/options/required.rst.inc
217
227
Original file line number Diff line number Diff line change @@ -84,6 +84,12 @@ Inherited Options
84
84
These options inherit from the :doc: `form </reference/forms/types/form >` type:
85
85
86
86
.. include :: /reference/forms/types/options/empty_data.rst.inc
87
+ :end-before: DEFAULT_PLACEHOLDER
88
+
89
+ The default value is ``null ``.
90
+
91
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
92
+ :start-after: DEFAULT_PLACEHOLDER
87
93
88
94
.. include :: /reference/forms/types/options/required.rst.inc
89
95
Original file line number Diff line number Diff line change @@ -53,6 +53,18 @@ Field Options
53
53
.. include :: /reference/forms/types/options/data_class.rst.inc
54
54
55
55
.. include :: /reference/forms/types/options/empty_data.rst.inc
56
+ :end-before: DEFAULT_PLACEHOLDER
57
+
58
+ The actual default value of this option depends on other field options:
59
+
60
+ * If ``data_class `` is set and ``required `` is ``true ``, then ``new $data_class() ``;
61
+ * If ``data_class `` is set and ``required `` is ``false ``, then ``null ``;
62
+ * If ``data_class `` is not set and ``compound `` is ``true ``, then ``array() ``
63
+ (empty array);
64
+ * If ``data_class `` is not set and ``compound `` is ``false ``, then ``'' `` (empty string).
65
+
66
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
67
+ :start-after: DEFAULT_PLACEHOLDER
56
68
57
69
.. include :: /reference/forms/types/options/compound.rst.inc
58
70
Original file line number Diff line number Diff line change @@ -71,6 +71,12 @@ Inherited Options
71
71
These options inherit from the :doc: `form </reference/forms/types/form >` type:
72
72
73
73
.. include :: /reference/forms/types/options/empty_data.rst.inc
74
+ :end-before: DEFAULT_PLACEHOLDER
75
+
76
+ The default value is ``'' `` (the empty string).
77
+
78
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
79
+ :start-after: DEFAULT_PLACEHOLDER
74
80
75
81
.. include :: /reference/forms/types/options/required.rst.inc
76
82
Original file line number Diff line number Diff line change @@ -77,6 +77,16 @@ These options inherit from the :doc:`choice </reference/forms/types/choice>` typ
77
77
These options inherit from the :doc: `form </reference/forms/types/form >` type:
78
78
79
79
.. include :: /reference/forms/types/options/empty_data.rst.inc
80
+ :end-before: DEFAULT_PLACEHOLDER
81
+
82
+ The actual default value of this option depends on other field options:
83
+
84
+ * If ``multiple `` is ``false `` and ``expanded `` is ``false ``, then ``'' ``
85
+ (empty string);
86
+ * Otherwise ``array() `` (empty array).
87
+
88
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
89
+ :start-after: DEFAULT_PLACEHOLDER
80
90
81
91
.. include :: /reference/forms/types/options/required.rst.inc
82
92
You can’t perform that action at this time.
0 commit comments