-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
nested forms dont show error messages #37091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Different problem |
Can you then please create a small example application that allows to reproduce your issue? |
I confirm, the patch do the work. |
Yes, we merge bugfixes in the lowest affected branch that is still maintained and from there merge it up to all other maintained branches. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symfony version(s) affected: 5.0.9 (also in 5.1.0)
Description
Since my last
composer install
(3 June 2020), my nested forms (other form fields are ok) don't show error messages in html form anymore.For example one field is instantiated like this in twig
{{ form_row(form.birthplace.postal_code) }}
.If I put a wrong postal code in the html form, Symfony doesn't validate my form (correct behavior) but won't show error message corresponding to my constraints (incorrect behavior).
How to reproduce
PHP
nested form :
host form :
controller :
TWIG
form.html.twig
The text was updated successfully, but these errors were encountered: