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 122
122
123
123
**type **: ``integer ``
124
124
125
- This required option is the "min" length value. Validation will fail if
125
+ This option is the "min" length value. Validation will fail if
126
126
the given value's length is **less ** than this min value.
127
127
128
+ This option is required when the ``max `` option is not defined.
129
+
128
130
It is important to notice that NULL values and empty strings are considered
129
131
valid no matter if the constraint required a minimum length. Validators
130
132
are triggered only if the value is not blank.
134
136
135
137
**type **: ``integer ``
136
138
137
- This required option is the "max" length value. Validation will fail if
139
+ This option is the "max" length value. Validation will fail if
138
140
the given value's length is **greater ** than this max value.
139
141
142
+ This option is required when the ``min `` option is not defined.
143
+
140
144
charset
141
145
~~~~~~~
142
146
You can’t perform that action at this time.
0 commit comments