[MultiSelect] Fix filterItem return type

This commit is contained in:
Eytan 2024-05-27 10:38:01 +02:00 committed by GitHub
commit 8835954a41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@
/**
* Override the filtering logic
* The default filtering is an exact string comparison
* @type {(item: MultiSelectItem, value: string) => string}
* @type {(item: MultiSelectItem, value: string) => boolean}
*/
export let filterItem = (item, value) =>
item.text.toLowerCase().includes(value.trim().toLowerCase());