stimulus-checkbox-select-all icon indicating copy to clipboard operation
stimulus-checkbox-select-all copied to clipboard

Ignore disabled checkboxes

Open guillaumebriday opened this issue 4 years ago • 1 comments

fix https://github.com/stimulus-components/stimulus-checkbox-select-all/issues/9

guillaumebriday avatar Feb 03 '21 22:02 guillaumebriday

This prevents checking / unchecking disabled fields

Now it raises one more question for the intermediate state.

With this implementation checking all and having one disabled (unchecked) input will keep the intermediate state.

Example [-] check all / uncheck all [x] option 1 [ ] option 2 Disabled [x] option 3

Not sure if there is an official way to handle that

My personal feeling is that if I click check all it should remove the intermediate state even if some disabled inputs are not checked

adrienpoly avatar Feb 04 '21 08:02 adrienpoly