list.js icon indicating copy to clipboard operation
list.js copied to clipboard

Unable to search name with spaces even using fuzzy search

Open PavanKallur opened this issue 8 years ago • 2 comments

giving the codepen can check search for example:

Boulevard Niche, Indiranagar above text we can't search Niche

https://codepen.io/PavanKallur/pen/pVbyGG

PavanKallur avatar Apr 25 '18 10:04 PavanKallur

worked around, added class to all child inside li and added same as option array,

hope it will help someone.

if any update or improvement you find can be done plz do comment.

https://codepen.io/PavanKallur/pen/pVbyGG

thanks

PavanKallur avatar Apr 26 '18 13:04 PavanKallur

If you set multiSearch in options to true, the search seems to get a little better/easier-to-use.

Check the source here:

https://github.com/javve/list.js/blob/master/src/fuzzy-search.js Line 25

mcglonelevi avatar May 30 '18 13:05 mcglonelevi