mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
parent
60ff25c2af
commit
70163b36f8
1 changed files with 0 additions and 3 deletions
|
@ -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}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue