fix(combo-box): remove redundant clear events #817

Fixes #817
This commit is contained in:
metonym 2021-09-14 09:26:12 -07:00
commit c60f038324

View file

@ -152,9 +152,6 @@
$: if (selectedIndex > -1) {
selectedId = items[selectedIndex].id;
dispatch("select", { selectedId, selectedIndex, selectedItem });
} else {
clear();
dispatch("clear");
}
$: ariaLabel = $$props["aria-label"] || "Choose an item";
$: menuId = `menu-${id}`;