Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e66ec5c

Browse files
committed
Created a compound_type file because this option is shared with lots of types
1 parent 8d360d9 commit e66ec5c

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
compound
2+
~~~~~~~~
3+
4+
**type**: ``boolean`` **default**: ``false``
5+
6+
This option specifies if the type is compound. This is independent of whether
7+
the type actually has children. A type can be compound but not have any
8+
children at all.

reference/forms/types/text.rst

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,7 @@ The text field represents the most basic input text field.
3333
Overridden Options
3434
------------------
3535

36-
compound
37-
~~~~~~~~
38-
39-
**type**: ``boolean`` **default**: ``false``
40-
41-
This option specifies if the type is compound. This is independent of whether
42-
the type actually has children. A type can be compound but not have any
43-
children at all.
36+
.. include:: /reference/forms/types/options/compound_type.rst.inc
4437

4538
Inherited Options
4639
-----------------

0 commit comments

Comments
 (0)