Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

[added] selectOnTab prop #327

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

stern-shawn
Copy link

Basically a 1:1 port of the existing PR #186 but based on the more recent ES6-ish codebase, with the selectOnTab prop optional and defaulted to false, and without the extra selectionMethod argument to the onSelect method. Big props to @Daniel15 for having already tackled this problem.

I would love to use the vanilla react-autocomplete but the existing selectOnBlur behavior is just not acceptable for my deliverables. Selecting explicitly on Click/Enter/Tab is more expected by my users than any blur event.

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

Successfully merging this pull request may close these issues.

1 participant