-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
boolean fields are rendered without form-switch class on "add new" action #6554
Comments
Yes, I have the same problem on the latest version of EasyAdmin. I've also attempted to run |
@javiereguiluz just a heads up, as this prevails currently in our installations. Do you have an idea? 🤔 |
Hey, found the problem, it's in
This is what breaks it. Just updated and saw it happening. The problem is the specific check for getPrimaryKeyValue. My problem is when the entity is part of a collection in another entity. The fix is easy but I'm not sure why was this piece of code added. |
also see #6647 |
@pfpro yeah, same issue, indeed. 👍 |
on the "add new" action, boolean fields are now rendered without the form-switch class. only normal checkboxes are displayed.
Does anyone have a similar problem?
The text was updated successfully, but these errors were encountered: