@@ -15,25 +15,25 @@ option.
15
15
+-------------+------------------------------------------------------------------------------+
16
16
| Options | - `choices`_ |
17
17
| | - `choice_list`_ |
18
- | | - `multiple`_ |
18
+ | | - `empty_value`_ |
19
19
| | - `expanded`_ |
20
+ | | - `multiple`_ |
20
21
| | - `preferred_choices`_ |
21
- | | - `empty_value`_ |
22
22
+-------------+------------------------------------------------------------------------------+
23
- | Overridden | - `empty_data`_ |
24
- | options | - `compound`_ |
23
+ | Overridden | - `compound`_ |
24
+ | options | - `empty_data`_ |
25
25
| | - `error_bubbling`_ |
26
26
+-------------+------------------------------------------------------------------------------+
27
- | Inherited | - `required`_ |
28
- | options | - `label`_ |
29
- | | - `label_attr`_ |
30
- | | - `data`_ |
31
- | | - `read_only`_ |
27
+ | Inherited | - `by_reference`_ |
28
+ | options | - `data`_ |
32
29
| | - `disabled`_ |
33
30
| | - `error_mapping`_ |
34
- | | - `mapped`_ |
35
31
| | - `inherit_data`_ |
36
- | | - `by_reference`_ |
32
+ | | - `label`_ |
33
+ | | - `label_attr`_ |
34
+ | | - `mapped`_ |
35
+ | | - `read_only`_ |
36
+ | | - `required`_ |
37
37
+-------------+------------------------------------------------------------------------------+
38
38
| Parent type | :doc:`form </reference/forms/types/form>` |
39
39
+-------------+------------------------------------------------------------------------------+
@@ -103,17 +103,25 @@ The ``choice_list`` option must be an instance of the ``ChoiceListInterface``.
103
103
For more advanced cases, a custom class that implements the interface
104
104
can be created to supply the choices.
105
105
106
- .. include:: /reference/forms/types/options/multiple .rst.inc
106
+ .. include:: /reference/forms/types/options/empty_value .rst.inc
107
107
108
108
.. include:: /reference/forms/types/options/expanded.rst.inc
109
109
110
- .. include:: /reference/forms/types/options/preferred_choices .rst.inc
110
+ .. include:: /reference/forms/types/options/multiple .rst.inc
111
111
112
- .. include:: /reference/forms/types/options/empty_value .rst.inc
112
+ .. include:: /reference/forms/types/options/preferred_choices .rst.inc
113
113
114
114
Overridden Options
115
115
------------------
116
116
117
+ compound
118
+ ~~~~~~~~
119
+
120
+ **type**: ``boolean`` **default**: same value as ``expanded`` option
121
+
122
+ This option specifies if a form is compound. The value is by default
123
+ overridden by the value of the ``expanded`` option.
124
+
117
125
.. include:: /reference/forms/types/options/empty_data.rst.inc
118
126
:end-before: DEFAULT_PLACEHOLDER
119
127
@@ -126,14 +134,6 @@ The actual default value of this option depends on other field options:
126
134
.. include:: /reference/forms/types/options/empty_data.rst.inc
127
135
:start-after: DEFAULT_PLACEHOLDER
128
136
129
- compound
130
- ~~~~~~~~
131
-
132
- **type**: ``boolean`` **default**: same value as ``expanded`` option
133
-
134
- This option specifies if a form is compound. The value is by default
135
- overridden by the value of the ``expanded`` option.
136
-
137
137
error_bubbling
138
138
~~~~~~~~~~~~~~
139
139
@@ -147,25 +147,25 @@ Inherited Options
147
147
148
148
These options inherit from the :doc:`form </reference/forms/types/form>` type:
149
149
150
- .. include:: /reference/forms/types/options/required.rst.inc
151
-
152
- .. include:: /reference/forms/types/options/label.rst.inc
153
-
154
- .. include:: /reference/forms/types/options/label_attr.rst.inc
150
+ .. include:: /reference/forms/types/options/by_reference.rst.inc
155
151
156
152
.. include:: /reference/forms/types/options/data.rst.inc
157
153
158
- .. include:: /reference/forms/types/options/read_only.rst.inc
159
-
160
154
.. include:: /reference/forms/types/options/disabled.rst.inc
161
155
162
156
.. include:: /reference/forms/types/options/error_mapping.rst.inc
163
157
158
+ .. include:: /reference/forms/types/options/inherit_data.rst.inc
159
+
160
+ .. include:: /reference/forms/types/options/label.rst.inc
161
+
162
+ .. include:: /reference/forms/types/options/label_attr.rst.inc
163
+
164
164
.. include:: /reference/forms/types/options/mapped.rst.inc
165
165
166
- .. include:: /reference/forms/types/options/inherit_data .rst.inc
166
+ .. include:: /reference/forms/types/options/read_only .rst.inc
167
167
168
- .. include:: /reference/forms/types/options/by_reference .rst.inc
168
+ .. include:: /reference/forms/types/options/required .rst.inc
169
169
170
170
Field Variables
171
171
---------------
0 commit comments