[Typeahead] overwrite "clear" function