Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
[WIP] #3412 documenting overriden options#3417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes fromall commits
Commits
Show all changes
8 commits Select commitHold shift + click to select a range
07a168a
add default value to mapped option of entity
nykopol39f92e9
document auto_initialize overriden option
nykopol17fb123
document auto_initialize overriden option
nykopolef807bf
correct overriden option of button and add checkbox overriden option
nykopolb2c4f51
correct overriden option of button and add checkbox overriden option
nykopol8e3db13
document overriden options of checkbox
nykopol2ed6d41
document overriden options of choice field
nykopolc2ae430
Merge branch 'overriden_options' of https://github.com/nykopol/symfon…
nykopolFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletionsreference/forms/types/button.rst
This file contains hidden or 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
48 changes: 29 additions & 19 deletionsreference/forms/types/checkbox.rst
This file contains hidden or 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
31 changes: 25 additions & 6 deletionsreference/forms/types/choice.rst
This file contains hidden or 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
7 changes: 7 additions & 0 deletionsreference/forms/types/options/button_auto_initialize.rst.inc
This file contains hidden or 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,7 @@ | ||
auto_initialize | ||
~~~~~~~~~~~~~~~ | ||
**type**: ``boolean`` **default**: ``false`` | ||
Sets whether the form should be initialized automatically. This option is | ||
not modifiable as buttons do not support automatic initialization. |
8 changes: 8 additions & 0 deletionsreference/forms/types/options/checkbox_compound.rst.inc
This file contains hidden or 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. |
9 changes: 9 additions & 0 deletionsreference/forms/types/options/checkbox_empty_data.rst.inc
This file contains hidden or 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`). |
2 changes: 1 addition & 1 deletionreference/forms/types/options/mapped.rst.inc
This file contains hidden or 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
mapped | ||
~~~~~~ | ||
**type**: ``boolean`` **default**: ``true`` | ||
If you wish the field to be ignored when reading or writing to the object, you | ||
can set the ``mapped`` option to ``false``. |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.