You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When POST-ing a form that exceeds the post_max_size limit of PHP, the Symfony validation message should not be exclusively about file uploads, since we can have forms submitted without any file uploads, which could lead to confusion.
Suggestion
Before: 'The uploaded file was too large. Please try to upload a smaller file.'
After: 'The combination of submitted content and uploaded files was too large. Please try to reduce the size of the submitted content or upload smaller files.'
Example
By setting php.ini to a really small value:
post_max_size=2
and submitting a form with a simple text field (TextType::class),