elm-select
elm-select copied to clipboard
Add fuzzy search option
Context
At the moment the search functionality is simple as hell. Essentially if the target string contains the string query it is a match and shows in the list.
Work to be done
It would be super cool to fuzzy match results to allow for a more sophisticated search algorithm. A lib like https://github.com/tripokey/elm-fuzzy/blob/5.2.1/src/Fuzzy.elm could be interesting to implement with the package.
A stretch goal might be to highlight the characters in the menu item.
As a first step it might be worthwhile to allow for consumers to provide their own search functionality.
Unknowns
- Performance might be a big deal for large option sets.