Skip to content

Conversation

bsontsai
Copy link

Added a static registry that registers all instances of MultiSelect that have an element id. This makes is a lot easier to access through JavaScript. Deselecting all options can be done through one line in JavaScript

MultiSelect.getById("fruits").clearSelected();

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

Successfully merging this pull request may close these issues.

1 participant