Open
Description
The library so grate but how can I custom the value of search input, because I'm from Vietnamese and when I search get unexpected result.
Example: I have 2 folders with the name: "Bông" and "Bong".
I expect when search with "bo" it will show 2 above folders, but I just get 1 folder is "Bong".
The code of my logic to change the value when enter the search input likely:
const removeAccents = (str: string) => {
return str
.normalize("NFD")
.replace(/[\u0300-\u036f]/g, "")
.replace(/đ/g, "d")
.replace(/Đ/g, "D");
};
Metadata
Assignees
Labels
No labels