Skip to content

Commit 812275b

Browse files
committed
[Form] fix post max size translation type extension for >= 2.8
1 parent 0663a7e commit 812275b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/config/form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
<tag name="form.type_extension" extended-type="Symfony\Component\Form\Extension\Core\Type\SubmitType" />
194194
</service>
195195
<service id="form.type_extension.upload.validator" class="Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension">
196-
<tag name="form.type_extension" alias="form" />
196+
<tag name="form.type_extension" extended-type="Symfony\Component\Form\Extension\Core\Type\FormType" />
197197
<argument type="service" id="translator"/>
198198
<argument type="string">%validator.translation_domain%</argument>
199199
</service>

0 commit comments

Comments
 (0)