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

Show suggestions based on beginning letters only? #62

Closed
brian-dunning opened this issue Oct 7, 2020 · 4 comments
Closed

Show suggestions based on beginning letters only? #62

brian-dunning opened this issue Oct 7, 2020 · 4 comments

Comments

@brian-dunning
Copy link

If I type "br" it should suggest only words starting with br, not containing it like "abridged"

@amsify42
Copy link
Owner

amsify42 commented Oct 9, 2020

Actually, It does both. It gets the tags with beginning letters then followed by the tags containing it.

@brian-dunning
Copy link
Author

Any way to select an option to look only at the beginning of words? A person looking for "book" is more likely to type "bo" than "oo".

@amsify42
Copy link
Owner

amsify42 commented Oct 24, 2020

If you want to show suggestion items based on custom matching, you can check suggestMatch callback option.
https://github.com/amsify42/jquery.amsify.suggestags#suggestmatch

@amsify42
Copy link
Owner

Closing this now. If you think no solution found, you can reopen it.

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