Skip to content

Commit cfc8ef9

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: clarify empty string behavior without lower bound given
2 parents 4e7663f + 0cbc379 commit cfc8ef9

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
@@ -123,6 +123,10 @@ If set to ``true``, empty strings are considered valid (which is the same
123123
behavior as previous Symfony versions). The default ``false`` value considers
124124
empty strings not valid.
125125

126+
.. caution::
127+
128+
This option does not have any effect when no minimum length is given.
129+
126130
charset
127131
~~~~~~~
128132

0 commit comments

Comments
 (0)