10000 Updated Choice constraint documentation for PR1577. · merk/symfony-docs@fc3f6e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc3f6e2

Browse files
author
marc.weistroff
committed
Updated Choice constraint documentation for PR1577.
1 parent 9b0c305 commit fc3f6e2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/constraints/Choice.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ a list of given choices.
1515
| | - ``message`` |
1616
| | - ``minMessage`` |
1717
| | - ``maxMessage`` |
18+
| | - ``strict`` |
1819
+----------------+-----------------------------------------------------------------------+
1920
| Default Option | ``choices`` |
2021
+----------------+-----------------------------------------------------------------------+
@@ -70,6 +71,9 @@ Available Options
7071
This is the validation error message that's displayed when the user chooses
7172
too many options per the ``max`` option.
7273

74+
* ``strict``: [type: bool, default: ``false``]
75+
If true, the validator will also check the type of the input value.
76+
7377
Basic Usage
7478
-----------
7579

0 commit comments

Comments
 (0)
0