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 168
168
169
169
**type **: ``integer ``
170
170
171
- This required option is the "max" length value. Validation will fail if
171
+ This option is the "max" length value. Validation will fail if
172
172
the given value's length is **greater ** than this max value.
173
173
174
+ This option is required when the ``min `` option is not defined.
175
+
174
176
maxMessage
175
177
~~~~~~~~~~
176
178
193
195
194
196
**type **: ``integer ``
195
197
196
- This required option is the "min" length value. Validation will fail if
198
+ This option is the "min" length value. Validation will fail if
197
199
the given value's length is **less ** than this min value.
198
200
201
+ This option is required when the ``max `` option is not defined.
202
+
199
203
It is important to notice that NULL values and empty strings are considered
200
204
valid no matter if the constraint required a minimum length. Validators
201
205
are triggered only if the value is not blank.
You can’t perform that action at this time.
0 commit comments