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 627a3c2 commit 51a7463Copy full SHA for 51a7463
reference/constraints/Expression.rst
@@ -143,6 +143,11 @@ expression that must return true in order for validation to pass. To learn
143
more about the expression language syntax, see
144
:doc:`/components/expression_language/syntax`.
145
146
+.. note::
147
+
148
+ Alternatively, you can set the `pass`_ option to ``true`` in order to
149
+ assert that the expression must return true for validation to fail.
150
151
.. sidebar:: Mapping the Error to a Specific Field
152
153
You can also attach the constraint to a specific property and still validate
0 commit comments