-
Notifications
You must be signed in to change notification settings - Fork 637
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
Checkboxes non-functional in 2.0.19? #907
Comments
I'm having trouble tracking this down and would appreciate any confirmation in other environments. This was functional under comfortable_mexican_sofa 2.0.18 w/comfy_archive 0.2.0, but is broken under comfortable_mexican_sofa 20.0.19 (which did bump Bootstrap to v4.3.1 in PR #890.) It's certainly possible this is only in our environment. |
I'm noticing that comfy_bootstrap_form was updated from 4.0.6 to 4.0.8 between the diffs of our working environment and non-working environment, so that's a potential culprit. Also of note: the working checkboxes appear to be standard input items while the non-functional checkboxes appear to be custom checkboxes. Working checkbox:
Non-functional checkbox:
This seems to be valid structure, according to the BootStrap 4.3 documentation, though maybe missing the |
Thanks for the report. There might be a bug because form builder is using For now, try to rollback form gem to a older version. |
@GBH Thanks, rolling back to version 4.0.7 of comfy_bootstrap_form seems to resolve the issue in our environment. I'll be doing more testing to see if I can determine why the custom controls don't work. Interestingly, the checkboxes in the comfy_bootstrap_form demo site seem to work correctly. |
It does seem to be caused by the missing |
Demo is on Rails 6. Maybe there's something slightly different about how checkboxes are generated between Rails versions? I'll try to fix this when I find time. |
@morgant We are also having this issue in rails 5.2.0 and comfortable_mexican_sofa 2.0.0 |
@morgant Same for us. |
Same problem here with Rails 5.2.6 and comfortable_mexican_sofa 2.0.17. Downgrading the form gem to 4.0.7 as @morgant said made the issue go away. |
Note: For general questions and feature requests please leave a message
on Gitter: https://gitter.im/comfy/comfortable-mexican-sofa
Expected behavior
Click and touch events on checkbox boxes or their labels in the admin interface, esp. publish & category checkboxes in pages, should toggle the checkbox on or off.
Actual behavior
All checkboxes in the admin interface do not toggle on/off when clicked/tapped, but will toggle on/off when navigated & toggled via the keyboard.
Steps to reproduce
I have confirmed that one cannot toggle any checkbox in Chrome, Firefox, or Safari, on macOS, iOS, and OpenBSD.
System configuration
Rails version: 6.0.1
CMS version: 2.0.19
Ruby version: 2.6.5
comfy_archive version: 0.2.0
The text was updated successfully, but these errors were encountered: