handle typeahead for local source