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