-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] Constraint HTML attributes guessing completely ignored #7181
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 discovered several issues with your fork:
(1) is fixable in your application, (2) is fixable in Symfony, but causes further problems:
Still the problem I see is the different default values for So the question really is: Should we change the We could do so stepwise, i.e.
Thoughts? |
@bschussek Sorry, I noticed that I've not committed the last changes, you can check it now. (a) Changing to a valid entity had no effect. Anyway, do you saw the validation.xml? The guesser lookup in it also, right? (b) IMHO, removing the configurability will make it completely counter intuitive and hard to new users understand. Maybe, we need a better solution. Please, check my fork again. |
Sorry, I don't get the point here. What do you refer to? |
Sorry, I had misunderstood what you said about "remove the configurability in 2.4", I understand now and IMHO the stepwise seems reasonable. Do you checked the (a) again? |
I'll close this in favor of #12018. |
Complementing #6645.
With this configuration:
The result is:
Expected:
Here is the symfony-standard fork to reproduce the issue:
https://github.com/marcospassos/symfony-standard/tree/master/src/Acme/DemoBundle
The text was updated successfully, but these errors were encountered: