Clear type field
2 answers
The accepted answer is now out of date. See the latest Typeahead documentation to see that capturing the "close" event and setting the input value are different. Here's an equivalent, updated answer:
$('.typeahead').typeahead().bind('typeahead:close', function() {
$('.typeahead').typeahead('val', '');
});
+1
source to share