mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
fix(multi-select): fix filterItem
return type (#1972)
This commit is contained in:
parent
607a97cddb
commit
6140c3c5a9
5 changed files with 7 additions and 4 deletions
|
@ -127,6 +127,9 @@
|
|||
|
||||
<MultiSelect
|
||||
filterable
|
||||
filterItem="{(item, query) => {
|
||||
return item.text.toLowerCase().includes(query.toLowerCase());
|
||||
}}"
|
||||
titleText="Contact"
|
||||
placeholder="Filter contact methods..."
|
||||
items="{[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue