Skip to content

Commit 397c70a

Browse files
committed
Merge branch '5.0'
* 5.0: minor. refs #13190 Update form.rst minor. refs #13190 Update form.rst
2 parents 20a7cf9 + 00a67ea commit 397c70a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/form.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,9 @@ method. This is useful when you'd like to validate the form without showing
763763
validation errors to the user (i.e. during a partial AJAX submission or
764764
:doc:`dynamic form modification </form/dynamic_form_modification>`).
765765

766-
Because clearing the errors makes the form valid, ``clearErrors()`` should only
767-
be called after testing whether the form is valid.
766+
Because clearing the errors makes the form valid,
767+
:method:`Symfony\\Component\\Form\\ClearableErrorsInterface::clearErrors`
768+
should only be called after testing whether the form is valid.
768769

769770
Learn more
770771
----------

0 commit comments

Comments
 (0)