Fix search in csv import (#6045)
A mini quality of life improvements, the search was case-sensitive which was frustrating
This commit is contained in:
@ -66,7 +66,9 @@ export const MatchColumnSelect = ({
|
||||
const handleSearchFilterChange = useCallback(
|
||||
(text: string) => {
|
||||
setOptions(
|
||||
initialOptions.filter((option) => option.label.includes(text)),
|
||||
initialOptions.filter((option) =>
|
||||
option.label.toLowerCase().includes(text.toLowerCase()),
|
||||
),
|
||||
);
|
||||
},
|
||||
[initialOptions],
|
||||
|
||||
Reference in New Issue
Block a user