Closed RiZKiT closed 11 years ago
Hi RiZKIT,
What do you think about adding an 'autoFocus' option? It would always focus the first option, no matter what. I think that adding "special cases" makes the widget more challenging to use for the user.
Always selecting the first option is a good idea and is more predictable to the user. +1
Adding it as an option sounds good and I thought about it too, but left it out to simplify the pull request. ;-)
If only one item is the result, that item is selected / focused. As a side effect, you can accept that value by pressing enter.
Maybe not the perfect solution but less intrusive.