-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Form Validation Error for Array input #29905
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
I have the same error ! I lost hours to understand that... The only solution I have is to downgrade to |
I also rolled back to 4.2.1. |
I just proposed #29911 which could hopefully mitigate the impact a bit. |
How did you downgrade to 4.2.1 ? You have to downgrade all packages versions too ? |
|
I'd appreciate if everyone affected by the issue described here could give their feedback on #29911. :) Please note that we are not going to change the behaviour of the |
Closing as not a bug, see linked issues. |
After upgrading symfony/form to v4.2.2 from v4.2.1, I'm having form validation error. Actually, I think it's correct behavior now, because an input data is an Array while form element is of
TextType
. Not sure why it was working before though :) To solve the issue, I tried to useData Transformers
, however both transform callable arguments are empty for some reason. How can I resolve it?The text was updated successfully, but these errors were encountered: