Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit72a61ae

Browse files
committed
[#6270] Changing to a caution and re-wording, per xabbuh's suggestions
1 parent90eaef6 commit72a61ae

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎reference/constraints/Length.rst‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ Length
33

44
Validates that a given string length is *between* some minimum and maximum value.
55

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.
1011

1112
+----------------+----------------------------------------------------------------------+
1213
| Applies to|:ref:`property or method<validation-property-target>`|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp