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
Upgrading from 3.0.3 -> 3.1.0 broke our checkbox inputs #1243
Comments
If it helps, here's how the HTML changes. Aside from losing Old
New
|
Can you please provide a sample application that reproduces the error? |
Hey Rafael, Short answer: nope, which is embarrassing! Pretty sure it's to do with this: #828 Using Sorry for the bother - hopefully this helps other people experiencing the same issue! |
We use
simple_form
and thebitmask_attributes
gem to let users save their email preferences.In 3.0.3, checkboxes are checked as expected. You can check & uncheck options, and have them saved properly. After upgrading the simple_form gem to 3.1.0, checkboxes which should be checked aren't. (Flicking between the versions makes the bug appear and disappear, so I'm fairly sure it's something here).
I can't see anything in the CHANGELOG deprecations to indicate anything that might have changed? Perhaps we've always been doing it wrong, and it's only just become an issue?
I'm not sure the best place to start debugging this, but hopefully we can figure this out.
The model
The form
The text was updated successfully, but these errors were encountered: