Skip to content

Commit 14f8a9c

Browse files
committed
clarify constraints on non-submitted forms
1 parent f49d24b commit 14f8a9c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

form/without_class.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,9 @@ but here's a short example::
112112
If the form is not mapped to an object, every object in your array of
113113
submitted data is validated using the ``Symfony\Component\Validator\Constraints\Valid``
114114
constraint, unless you :doc:`disable validation </form/disabling_validation>`.
115+
116+
.. caution::
117+
118+
If a form is not submitted with the request (for example, when a form
119+
is only partially submitted in a HTTP PATCH request), its validation
120+
constraints will be ignored.

0 commit comments

Comments
 (0)