File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 173
173
174
174
**type **: ``integer ``
175
175
176
- This required option is the "max" length value. Validation will fail if
176
+ This option is the "max" length value. Validation will fail if
177
177
the given value's length is **greater ** than this max value.
178
178
179
+ This option is required when the ``min `` option is not defined.
180
+
179
181
maxMessage
180
182
~~~~~~~~~~
181
183
198
200
199
201
**type **: ``integer ``
200
202
201
- This required option is the "min" length value. Validation will fail if
203
+ This option is the "min" length value. Validation will fail if
202
204
the given value's length is **less ** than this min value.
203
205
206
+ This option is required when the ``max `` option is not defined.
207
+
204
208
It is important to notice that NULL values and empty strings are considered
205
209
valid no matter if the constraint required a minimum length. Validators
206
210
are triggered only if the value is not blank.
You can’t perform that action at this time.
0 commit comments