thoughtbot/administrate

CSS selector change in PR #2492 hides the checkbox input when editing a Field:Boolean

jasongorst opened this issue · 3 comments

In app/assets/stylesheets/administrate/components/_buttons.scss, the change in PR #2492 from

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {

to

button,
input,
.button {

makes these rules apply to all input types, including checkboxes.

Oh, oops.

Do you have any thoughts on what might work, given the linting rules and expected behaviour?

Do you have any thoughts on what might work, given the linting rules and expected behaviour?

Just the attribute selectors would work,

[type="button"],
[type="reset"],
[type="submit"],

I added a fix in PR #2512.