File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
Validates that a given string length is *between * some minimum and maximum value.
5
5
6
- **Warning **: *null * and *blank * values are not handled by this constraint. To
7
- handle them, refers to the :doc: `/reference/constraints/Null `,
8
- :doc: `/reference/constraints/NotNull `, :doc: `/reference/constraints/Blank ` and
9
- :doc: `/reference/constraints/NotBlank ` constraints.
6
+ .. caution ::
7
+
8
+ ``null `` and empty strings are not handled by this constraint. You need to
9
+ also add the :doc: `/reference/constraints/NotBlank ` or :doc: `/reference/constraints/NotNull `
10
+ constraints to validate against these.
10
11
11
12
+----------------+----------------------------------------------------------------------+
12
13
| Applies to | :ref: `property or method <validation-property-target >` |
You can’t perform that action at this time.
0 commit comments