autocompletejs
autocompletejs copied to clipboard
excluding words or start from second word
Would be nice if a word or list of words could be supplied, and if typed, be ignored. In other words, if my list includes:
- Tree Green
- Tree Red
- Tree Yellow
- Plant Green
- Plant Blue
I don't want Tree or Plant to trigger the autocomplete box. The user would have to type "Tree G" or just "G" to see the results. But "Tr", "Tree", "Pla", etc., would not return any results.
I either want to supply a list of words to ignore or set an option to ignore the first word completely.