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.
null
1 parent e579876 commit 4abf45fCopy full SHA for 4abf45f
reference/constraints/Expression.rst
@@ -128,6 +128,12 @@ One way to accomplish this is with the Expression constraint:
128
// ...
129
}
130
131
+.. caution::
132
+
133
+ In Symfony 2.4 and Symfony 2.5, ``null`` values won't be validated by
134
+ the Expression constraint. Therefore, to disallow ``null`` values, you
135
+ would also have to use the :doc:`NotNull constraint </reference/constraints/NotNull>`.
136
137
The :ref:`expression <reference-constraint-expression-option>` option is the
138
expression that must return true in order for validation to pass. To learn
139
more about the expression language syntax, see
0 commit comments