Skip to content

Invalid checkbox is not showing Checked / Unchecked state #90

@jpaulomotta

Description

@jpaulomotta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions