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

How can I make highlighting case insensitive? #63

Open
phocks opened this issue Jul 11, 2017 · 3 comments
Open

How can I make highlighting case insensitive? #63

phocks opened this issue Jul 11, 2017 · 3 comments

Comments

@phocks
Copy link

phocks commented Jul 11, 2017

Letter highlighting seems to be case sensitive. I am just wondering how I might go about making it highlight letters regardless of uppercase and lowercase.

I took a look in the code it seems like the search gets around this by converting everything to lowercase, but ideally I would like to keep title case on my list items.

snip20170711_2

@msokk
Copy link

msokk commented Aug 9, 2017

https://github.com/bevacqua/horsey/blob/master/horsey.js#L427 - the comparison happens here

@phocks
Copy link
Author

phocks commented Aug 9, 2017

I ended up using this JavaScript Autocomplete which highlights uppercase and lowercase searches out of the box. https://github.com/Pixabay/JavaScript-autoComplete

@blq
Copy link

blq commented Apr 4, 2019

There's a PR for this here: #71

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

3 participants