Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug with fuzzysearch ??? #766

Open
vlecouf opened this issue Aug 3, 2023 · 1 comment
Open

bug with fuzzysearch ??? #766

vlecouf opened this issue Aug 3, 2023 · 1 comment

Comments

@vlecouf
Copy link

vlecouf commented Aug 3, 2023

Hi

I have a list with these 2 items in it: "Austria" and "Australia".
If I search for "Austria", the 2 items appear

HTML
`<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>

<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
  • Australia

  • India

  • France

  • Austria

`

JS
var monkeyList = new List('test-list', { valueNames: ['name'] });

check here : codepen

thanks

@ObaltzerS
Copy link

Hi! If you want just the exact match search result to appear, I might suggest using the default search option, which can be implemented by simply replacing the "fuzzy-search" class with "search".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants