I have a multiselect control on my page and am using the chipSelection to toggle the chip color.
The color is correctly toggled when a user clicks on a chip, but the issue is the dropdown box opening as well when this happens.
Is there a way prevent the dropdown box from opening if the click occurs on a chip?
<ejs-multiselect
...
chipSelection="onSelection"
...
</ejs-multiselect>
<script>
function onSelection(e) {
$(e.currentTarget).toggleClass("selected")
}
</script>
<style>
.e-chips.selected {
background-color: #3848BF !important;
}
</style>