Skip to content

Commit 0cbc379

Browse files
committed
minor #13668 [Validator] clarify empty string behavior without lower bound given (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [Validator] clarify empty string behavior without lower bound given see symfony/symfony#36812 Commits ------- 6d951ec clarify empty string behavior without lower bound given
2 parents 2662d4e + 6d951ec commit 0cbc379

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/constraints/Length.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ set to ``true``, empty strings are considered valid (which is the same behavior
128128
as previous Symfony versions). Set it to ``false`` to consider empty strings not
129129
valid.
130130

131+
.. caution::
132+
133+
This option does not have any effect when no minimum length is given.
134+
131135
charset
132136
~~~~~~~
133137

0 commit comments

Comments
 (0)