bootstrap-ajax-typeahead
bootstrap-ajax-typeahead copied to clipboard
Clear Value input after select
how to Clear Value input after select
Same question, but I am not sure is this possible, because value is added after onselect callback is fired?
So i went with a small hack:
inside onSelect callback i added
setTimeout(function(){$('#typeahead-input').val(''); }, 200);
which did the job.