Skip to content

Commit

Permalink
normalize case token input when filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeirojose committed Sep 5, 2023
1 parent 9722c97 commit 450abdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const MultiSelectDropdown = ({
return items.filter(
(item) =>
!selectedItems.find((selected) => selected === item) &&
item.includes(String(inputValue)),
item.toLowerCase().includes(String(inputValue?.toLowerCase())),
);
},
[selectedItems],
Expand Down

0 comments on commit 450abdd

Please sign in to comment.