Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a27ec00

Browse filesBrowse files
committed
[Form] fix post max size translation type extension for >= 2.8
1 parent f4dbd30 commit a27ec00
Copy full SHA for a27ec00

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Resources/config/form.xml

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/form.xml
+1-1Lines 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>

‎src/Symfony/Component/Form/Extension/Validator/Type/UploadValidatorExtension.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Validator/Type/UploadValidatorExtension.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ public function configureOptions(OptionsResolver $resolver)
5353
*/
5454
public function getExtendedType()
5555
{
56-
return 'form';
56+
return 'Symfony\Component\Form\Extension\Core\Type\FormType';
5757
}
5858
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.