8000 Added 'Default' validation group · symfony/symfony-docs@466d67f · GitHub
[go: up one dir, main page]

Skip to content

Commit 466d67f

Browse files
Added 'Default' validation group
1 parent 2b95d2f commit 466d67f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

form/validation_groups.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,7 @@ method::
3232
}
3333

3434
In both of these cases, *only* the ``registration`` validation group will
35-
be used to validate the underlying object.
35+
be used to validate the underlying object. To apply the ``registration``
36+
group *and* all constraints that are not in a group, use::
37+
38+
'validation_groups' => array('Default', 'registration')

0 commit comments

Comments
 (0)
0