Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent auto select of first item in typehead #748

Closed
doorman02 opened this issue Sep 16, 2016 · 2 comments
Closed

Prevent auto select of first item in typehead #748

doorman02 opened this issue Sep 16, 2016 · 2 comments

Comments

@doorman02
Copy link

Is it possible to prevent auto select of the first item in the typehead component? I need this because I want the user to be able to press enter if he wants to search normally and only if an item in the list is selected by the user e.g. using the mouse or arrow keys he should navigate to the item.

@pkozlowski-opensource
Copy link
Member

Yes, we should add an option for this. It would be rather easy to implement so PRs welcomed (would be wise to wait till #746 lands otherwise you are looking for funny rebases).

@kjartanvalur
Copy link

Here is a pull request for this issue
#767

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants