typeahead.js icon indicating copy to clipboard operation
typeahead.js copied to clipboard

Not only first letter search

Open jonasscalar opened this issue 13 years ago • 1 comments

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.

jonasscalar avatar Aug 30 '13 19:08 jonasscalar

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'

aDaneInSpain avatar Sep 10 '13 10:09 aDaneInSpain