Skip to content

Commit ab4aafe

Browse files
nykopolweaverryan
authored andcommitted
correct overriden option of button and add checkbox overriden option
1 parent f285d93 commit ab4aafe

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed

reference/forms/types/button.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A simple, non-responsive button.
1818
| | - `label_attr`_ |
1919
| | - `translation_domain`_ |
2020
+----------------------+----------------------------------------------------------------------+
21-
| Overridden Options | - `auto_initialize` |
21+
| Overriden options | - `auto_initialize`_ |
2222
+----------------------+----------------------------------------------------------------------+
2323
| Parent type | none |
2424
+----------------------+----------------------------------------------------------------------+

reference/forms/types/checkbox.rst

+11-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ if the box is unchecked, the value will be set to false.
1313
+-------------+------------------------------------------------------------------------+
1414
| Options | - `value`_ |
1515
+-------------+------------------------------------------------------------------------+
16+
| Overriden | - `empty_data`_ |
17+
| options | - `compound`_ |
18+
+-------------+------------------------------------------------------------------------+
1619
| Inherited | - `data`_ |
17-
| options | - `empty_data`_ |
18-
| | - `required`_ |
20+
| options | - `required`_ |
1921
| | - `label`_ |
2022
| | - `label_attr`_ |
2123
| | - `read_only`_ |
@@ -44,6 +46,13 @@ Field Options
4446

4547
.. include:: /reference/forms/types/options/value.rst.inc
4648

49+
Overriden options
50+
-----------------
51+
52+
.. include:: /reference/forms/types/options/checkbox_empty_data.rst.inc
53+
54+
.. include:: /reference/forms/types/options/checkbox_compound.rst.inc
55+
4756
Inherited options
4857
-----------------
4958

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
compound
2+
~~~~~~~~
3+
4+
**type**: ``boolean`` **default**: ``false``
5+
6+
Specify that checkbox type is not a combined type.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
empty_data
2+
~~~~~~~~~~
3+
4+
**type**: ``closure``
5+
6+

0 commit comments

Comments
 (0)