mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
fix(ComboBox): fixed itemToString argument, resolve #1222
This commit is contained in:
parent
2491b5e3da
commit
9f1b5b5ba1
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@
|
||||||
// typed value has matched or fallback to first enabled item
|
// typed value has matched or fallback to first enabled item
|
||||||
open = false;
|
open = false;
|
||||||
selectedItem = matchedItem;
|
selectedItem = matchedItem;
|
||||||
value = itemToString(selectedItem.text);
|
value = itemToString(selectedItem);
|
||||||
selectedId = selectedItem.id;
|
selectedId = selectedItem.id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue