Skip to content

Commit dd59710

Browse files
committed
[Form] Made submit buttons able to convey validation groups
1 parent da2f6fe commit dd59710

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Resources/config/form.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,8 @@
163163
<service id="form.type_extension.repeated.validator" class="Symfony\Component\Form\Extension\Validator\Type\RepeatedTypeValidatorExtension">
164164
<tag name="form.type_extension" alias="repeated" />
165165
</service>
166+
<service id="form.type_extension.submit.validator" class="Symfony\Component\Form\Extension\Validator\Type\SubmitTypeValidatorExtension">
167+
<tag name="form.type_extension" alias="submit" />
168+
</service>
166169
</services>
167170
</container>

0 commit comments

Comments
 (0)