arctic_admin icon indicating copy to clipboard operation
arctic_admin copied to clipboard

Invalid checkbox is not showing Checked / Unchecked state

Open jpaulomotta opened this issue 3 years ago • 1 comments

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:

  1. Create a model with a checkbox field
  2. Fails the validation there for some reason
  3. Submit an invalid form
  4. 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 Screen Shot 2021-03-31 at 3 36 13 PM

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

jpaulomotta avatar Mar 31 '21 18:03 jpaulomotta

Sorry, I don't have time. if you want, you can do a pull request and I will review it ;)

cprodhomme avatar Apr 14 '21 09:04 cprodhomme