Make searchable option support fuzzy search in <flux:select> component #1460
Unanswered
bridgeyuwa
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Currently, the
searchable
feature in<flux:select>
only supports exact or prefix matching. It does not handle fuzzy search, which makes it less forgiving for typos or approximate matches.Expected Behavior
Typing a close approximation or a string with minor typos should still return relevant matches.
For example, typing :
Search: "Jon Smyth"
Match: "John Smith"
Search: "aple"
Match: "apple"
Search: "internashunal"
Match: "international"
Search: "reciept"
Match: "receipt"
Search: "gogle"
Match: "Google"
Suggestion
Implement fuzzy search using a lightweight algorithm like Fuse.js or similar, to improve the UX of
flux:select searchable
.This would make the component more robust and user-friendly.
Beta Was this translation helpful? Give feedback.
All reactions