8000 fix `validation_groups` typos · symfony/symfony-docs@f4d20c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit f4d20c3

Browse files
committed
fix validation_groups typos
1 parent ecd68c5 commit f4d20c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbook/form/dynamic_form_modification.rst

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
30AD
0