Improve word matching when searching #302
CodeGradox
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! We have been looking for a replacement for bootstrap-select and tom-select, and virtual-select seems to be the ideal fit.
Tom-select offers a better search experience than virtual-select, based on my initial testing. Take for example the following string: TOKYO, Japan. In tom-select, I can search for "japan tokyo" and it will match, even if the words are in the opposite order. The same search string will not yield any results in virtual-select.
I assume the tom-select works so great is because it uses sifter for matching strings, but I am not sure.
It's not a deal-breaker since virtual-select offers most, if not all, of the functions we need for our use case.
You can test the search here: Codepen
Beta Was this translation helpful? Give feedback.
All reactions