We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f40e0 commit 55ab7f4Copy full SHA for 55ab7f4
reference/constraints/_empty-values-are-valid.rst.inc
@@ -1,7 +1,6 @@
1
.. note::
2
3
- As with most of the other constraints, ``null`` values and empty strings
4
- are considered valid values. Otherwise, in addition to validating this value,
5
- you would also be requiring it, making it impossible to be optional. That's
6
- why it's common to combine this constraint with
7
- :doc:`NotBlank </reference/constraints/NotBlank>`.
+ As with most of the other constraints, ``null`` and empty strings are
+ considered valid values. This is to allow them to be optional values.
+ If the value is mandatory, a common solution is to combine this constraint
+ with :doc:`NotBlank </reference/constraints/NotBlank>`.
0 commit comments