Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit70feefd

Browse files
nykopolweaverryan
authored andcommitted
document overriden options of checkbox
1 parentc62cd13 commit70feefd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎reference/forms/types/options/checkbox_compound.rst.inc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ compound
33

44
**type**: ``boolean``**default**: ``false``
55

6-
Specify that checkboxtypeisnot a combinedtype.
6+
This option specifiesif a form is compound. As it's not the
7+
case for checkbox, by fefault the value is overriden with
8+
``false`` value.
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
empty_data
22
~~~~~~~~~~
33

4-
**type**: ``closure``
4+
**type**: ``string``**default**: ``mixed``
55

6+
This option determines what value the field willreturn when the ``empty_value``
7+
choice is selected.
8+
In checkbox, the valueof ``empty_data`` is overriden by the value returned by
9+
the datatransformer (see:doc:`/cookbook/form/data_transformers.rst`).
610

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp