Skip to content

Commit ac38b0c

Browse files
committed
bug #5608 updated validation.rst (issei-m)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #5608). Discussion ---------- updated validation.rst I'm not sure this change is correct but FieldError was renamed to FormError, right? Commits ------- 74da3cf updated validation.rst
2 parents 25bf05c + 74da3cf commit ac38b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ The ``validator`` service can be used at any time to validate any object.
212212
In reality, however, you'll usually work with the ``validator`` indirectly
213213
when working with forms. Symfony's form library uses the ``validator`` service
214214
internally to validate the underlying object after values have been submitted.
215-
The constraint violations on the object are converted into ``FieldError``
215+
The constraint violations on the object are converted into ``FormError``
216216
objects that can easily be displayed with your form. The typical form submission
217217
workflow looks like the following from inside a controller::
218218

0 commit comments

Comments
 (0)