-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #3506 Nykopol overriden options (weaverryan)
This PR was merged into the 2.3 branch. Discussion ---------- Nykopol overriden options See #3417 - this is just a rebase to continue it :) | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | 2.3 | Fixed tickets | #3412 Thanks! Commits ------- e574e97 Removing an extra line thanks to @xabbuh 4f6cb9d Some additional tweaks and probably some merge conflict fixes 362c8b4 document overriden options of choice field 70feefd document overriden options of checkbox c62cd13 correct overriden option of button and add checkbox overriden option ab4aafe correct overriden option of button and add checkbox overriden option
- Loading branch information
Showing
5 changed files
with
54 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
compound | ||
~~~~~~~~ | ||
|
||
**type**: ``boolean`` **default**: ``false`` | ||
|
||
This option specifies if a form is compound. As it's not the | ||
case for checkbox, by fefault the value is overriden with | ||
``false`` value. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
empty_data | ||
~~~~~~~~~~ | ||
|
||
**type**: ``string`` **default**: ``mixed`` | ||
|
||
This option determines what value the field will return when the ``empty_value`` | ||
choice is selected. | ||
In checkbox, the value of ``empty_data`` is overriden by the value returned by | ||
the data transformer (see :doc:`/cookbook/form/data_transformers.rst`). |