fix(combo-box): clicking chevron should not open the combo box if disabled

Fixes #776
This commit is contained in:
Eric Liu 2021-09-11 12:23:21 -07:00
commit be5fbbd832

View file

@ -309,6 +309,7 @@
{/if}
<ListBoxMenuIcon
on:click="{(e) => {
if (disabled) return;
e.stopPropagation();
open = !open;
}}"