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 173173
174174**type **: ``integer ``
175175
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
177177the given value's length is **greater ** than this max value.
178178
179+ This option is required when the ``min `` option is not defined.
180+
179181maxMessage
180182~~~~~~~~~~
181183
198200
199201**type **: ``integer ``
200202
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
202204the given value's length is **less ** than this min value.
203205
206+ This option is required when the ``max `` option is not defined.
207+
204208It is important to notice that NULL values and empty strings are considered
205209valid no matter if the constraint required a minimum length. Validators
206210are triggered only if the value is not blank.
You can’t perform that action at this time.
0 commit comments