vanillaSelectBox icon indicating copy to clipboard operation
vanillaSelectBox copied to clipboard

Clicking an optgroup triggers n change events, where n is the amount of options that are selected/deselected

Open Lxxrxns opened this issue 2 years ago • 0 comments

I have a listener for a change in a multiselect box, but when I click an optgroup, this triggers n changes, where n is the amount of options in that group. This results in unwanted behaviour.

Can you think of a work-around to consider clicking an optgroup as a single change?

Lxxrxns avatar Jan 09 '23 13:01 Lxxrxns