Skip to content

Commit 3800846

Browse files
committed
bug #5350 [Form][2.3] fix validation_groups typos (craue)
This PR was merged into the 2.3 branch. Discussion ---------- [Form][2.3] fix `validation_groups` typos | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3+ | Fixed tickets | -- It's neither `group_validation` nor `validation_group`, but `validation_groups`. 😏 Commits ------- f4d20c3 fix `validation_groups` typos
2 parents 75e4f70 + f4d20c3 commit 3800846

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbook/form/dynamic_form_modification.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ To suppress form validation you can use the ``POST_SUBMIT`` event and prevent
713713
the :class:`Symfony\\Component\\Form\\Extension\\Validator\\EventListener\\ValidationListener`
714714
from being called.
715715

716-
The reason for needing to do this is that even if you set ``group_validation``
716+
The reason for needing to do this is that even if you set ``validation_groups``
717717
to ``false`` there are still some integrity checks executed. For example
718718
an uploaded file will still be checked to see if it is too large and the form
719719
will still check to see if non-existing fields were submitted. To disable

reference/forms/types/options/cascade_validation.rst.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ the data from ``CategoryType`` to also be validated.
1313
Instead of using this option, it is recommended that you use the ``Valid``
1414
constraint in your model to force validation on a child object stored
1515
on a property. This cascades only the validation but not the use of
16-
the ``validation_group`` option on child forms. You can read more
16+
the ``validation_groups`` option on child forms. You can read more
1717
about this in the section about
1818
:ref:`Embedding a Single Object <forms-embedding-single-object>`.
1919

0 commit comments

Comments
 (0)