@@ -20,18 +20,20 @@ option.
20
20
| | - `preferred_choices `_ |
21
21
| | - `empty_value `_ |
22
22
+-------------+------------------------------------------------------------------------------+
23
+ | Overriden | - `empty_data `_ |
24
+ | options | - `compound `_ |
25
+ | | - `error_bubbling `_ |
26
+ +-------------+------------------------------------------------------------------------------+
23
27
| Inherited | - `required `_ |
24
28
| options | - `label `_ |
25
29
| | - `label_attr `_ |
26
30
| | - `data `_ |
27
31
| | - `read_only `_ |
28
32
| | - `disabled `_ |
29
- | | - `error_bubbling `_ |
30
33
| | - `error_mapping `_ |
31
34
| | - `mapped `_ |
32
35
| | - `inherit_data `_ |
33
36
| | - `by_reference `_ |
34
- | | - `empty_data `_ |
35
37
+-------------+------------------------------------------------------------------------------+
36
38
| Parent type | :doc: `form </reference/forms/types/form >` |
37
39
+-------------+------------------------------------------------------------------------------+
@@ -109,6 +111,27 @@ can be created to supply the choices.
109
111
110
112
.. include :: /reference/forms/types/options/empty_value.rst.inc
111
113
114
+ Overriden options
115
+ -----------------
116
+
117
+ .. include :: /reference/forms/types/options/empty_data.rst.inc
118
+
119
+ compound
120
+ ~~~~~~~~
121
+
122
+ **type **: `̀ boolean`` **default **: same value as ``expanded `` option
123
+
124
+ This option specifies if a form is compound. The value is by default
125
+ overriden by the value of the ``expanded `` option.
126
+
127
+ error_bubbling
128
+ ~~~~~~~~~~~~~~
129
+
130
+ **type **: ``boolean `` **default **: ``false ``
131
+
132
+ Set that error on this field must be attached to the field instead of
133
+ the parent field (the form in most cases).
134
+
112
135
Inherited options
113
136
-----------------
114
137
@@ -126,14 +149,10 @@ These options inherit from the :doc:`form </reference/forms/types/form>` type:
126
149
127
150
.. include :: /reference/forms/types/options/disabled.rst.inc
128
151
129
- .. include :: /reference/forms/types/options/error_bubbling.rst.inc
130
-
131
152
.. include :: /reference/forms/types/options/error_mapping.rst.inc
132
153
133
154
.. include :: /reference/forms/types/options/mapped.rst.inc
134
155
135
156
.. include :: /reference/forms/types/options/inherit_data.rst.inc
136
157
137
158
.. include :: /reference/forms/types/options/by_reference.rst.inc
138
-
139
- .. include :: /reference/forms/types/options/empty_data.rst.inc
0 commit comments