10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b0c305 commit fc3f6e2Copy full SHA for fc3f6e2
reference/constraints/Choice.rst
@@ -15,6 +15,7 @@ a list of given choices.
15
| | - ``message`` |
16
| | - ``minMessage`` |
17
| | - ``maxMessage`` |
18
+| | - ``strict`` |
19
+----------------+-----------------------------------------------------------------------+
20
| Default Option | ``choices`` |
21
@@ -70,6 +71,9 @@ Available Options
70
71
This is the validation error message that's displayed when the user chooses
72
too many options per the ``max`` option.
73
74
+* ``strict``: [type: bool, default: ``false``]
75
+ If true, the validator will also check the type of the input value.
76
+
77
Basic Usage
78
-----------
79
0 commit comments