fix(multi-select): prevent dropdown from opening if disabled

This commit is contained in:
Eric Liu 2021-01-23 06:09:09 -08:00
commit 8f0c518d1f

View file

@ -271,6 +271,7 @@
tabindex="0" tabindex="0"
aria-expanded="{open}" aria-expanded="{open}"
on:click="{() => { on:click="{() => {
if (disabled) return;
if (filterable) { if (filterable) {
open = true; open = true;
inputRef.focus(); inputRef.focus();