pespantelis / vue-typeahead

:mag: Typeahead component for Vue.js
http://pespantelis.github.io/vue-typeahead
MIT License
517 stars 97 forks source link

Support for "auto select" first item #33

Closed viirre closed 8 years ago

viirre commented 8 years ago

Handy when you often just want to hit the first item in the list after the search (so you don't have to hit the "down" key first if the first item is the one you want).

I noticed that the branch name is unfortunate ("option" should be "item"), hopefully that doesn't really matter.

pespantelis commented 8 years ago

Hi @viirre,

I have used this approach at the beginning, but I changed later because of the issue #12. So, an option covers all needs.

Thanks!