8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 803e1de commit f19d821Copy full SHA for f19d821
src/Symfony/Component/Form/Tests/Extension/Validator/Constraints/FormValidatorFunctionalTest.php
@@ -142,10 +142,15 @@ public function testCascadeValidationToChildFormsUsingPropertyPathsValidatedInSe
142
'constraints' => [new NotBlank(['groups' => 'group1'])],
143
'property_path' => '[foo]',
144
])
145
+ ->add('field2', null, [
146
+ 'constraints' => [new NotBlank(['groups' => 'group2'])],
147
+ 'property_path' => '[bar]',
148
+ ])
149
;
150
151
$form->submit([
152
'field1' => '',
153
+ 'field2' => '',
154
]);
155
156
$violations = $this->validator->validate($form);
0 commit comments