typeahead.js
typeahead.js copied to clipboard
Not only first letter search
In Bootstrap 2.3.1 i type any letter and perform the search, but using this js only give result with first letter search, i need any other example, please help me.
I found that my issue was related to using local and datums. I only had one tokens so I had supplied it as a string but even if you have only one you must supply it is an array.
tokens: ['string']
instead of
tokens: 'string'