type autocomplete and search options