arctic_admin
arctic_admin copied to clipboard
Invalid checkbox is not showing Checked / Unchecked state
Describe the bug When a validation fails on a check box field, it's impossible to know if it's checked or unchecked later. Both states are using the same light red background.
To Reproduce Steps to reproduce the behavior:
- Create a model with a checkbox field
- Fails the validation there for some reason
- Submit an invalid form
- Click on checkbox when it's red. It doesn't change its appearance.
Expected behavior The check box would change when it's checked / unchecked
Screenshots
Desktop (please complete the following information):
- OS: Mac
- Browser: Chrome
Gemfile Place here your gemfile.lock of your project
arctic_admin (3.3.0)
activeadmin (>= 1.1.0, < 3.0)
font-awesome-sass (~> 5.0)
jquery-rails
Sorry, I don't have time. if you want, you can do a pull request and I will review it ;)