Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Lxxrxns opened this issue Jan 9, 2023 · 0 comments

Comments

@Lxxrxns
Copy link

Lxxrxns commented Jan 9, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant