Typeahead and autocompletion partial implementation