File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -111,16 +111,20 @@ min
111
111
112
112
**type **: ``integer ``
113
113
114
- This required option is the "min" count value. Validation will fail if the
115
- given collection elements count is **less ** than this min value.
114
+ This option is the "min" count value. Validation will fail if the given
115
+ collection elements count is **less ** than this min value.
116
+
117
+ This option is required when the ``max `` option is not defined.
116
118
117
119
max
118
120
~~~
119
121
120
122
**type **: ``integer ``
121
123
122
- This option is the "max" count value and it is required if the **min ** option has not been defined. Validation will fail if the
123
- given collection elements count is **greater ** than this max value.
124
+ This option is the "max" count value. Validation will fail if the given
125
+ collection elements count is **greater ** than this max value.
126
+
127
+ This option is required when the ``min `` option is not defined.
124
128
125
129
minMessage
126
130
~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments