I am currently in the process of switching form BootsTrap 2.3 to Bootstrap 3.0. As we all know, there is no typeahead in the bootstrap 3.0 so I am using the twitter one: https://github.com/twitter/typeahead.js/
I am able to query but for some reason, the query is not being updated...
Here is the code:
$('.typeahead').typeahead([
{
name: 'users',
prefetch: '../user/generate-users-typeahead',
remote: '../user/generate-users-typeahead',
limit: 5
},
])
For example, if we start entering Exa there will still be results with the username Admin for example...
Any ideas why it is doing that?
Thanks, Ara
cacheproperty forremotesince this is usingjQuery.ajax()under the hood.