I'am using a custom button inside typeahead's header (pager) , that replaces the suggestions, i already tried $('#MyTypeahead').typeahead('val', 'something'); , but it's a hack (stackoverflow)
i found this in the typeahead.js
_onAsyncRequested: function onAsyncRequested(type, dataset, query) {
this.eventBus.trigger('asyncrequest', query, dataset);
},
I'am using a custom button inside typeahead's header (pager) , that replaces the suggestions, i already tried
$('#MyTypeahead').typeahead('val', 'something');
, but it's a hack (stackoverflow) i found this in the typeahead.js