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 164164
165165**type **: ``integer ``
166166
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
168168the given value's length is **greater ** than this max value.
169169
170+ This option is required when the ``min `` option is not defined.
171+
170172maxMessage
171173~~~~~~~~~~
172174
189191
190192**type **: ``integer ``
191193
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
193195the given value's length is **less ** than this min value.
194196
197+ This option is required when the ``max `` option is not defined.
198+
195199It is important to notice that NULL values and empty strings are considered
196200valid no matter if the constraint required a minimum length. Validators
197201are triggered only if the value is not blank.
You can’t perform that action at this time.
0 commit comments