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

Correctly filter items when selecting a state, fixes #81 #82

Conversation

CMTegner
Copy link
Collaborator

The onSelect logic was setting state.unitedStates to an empty array
which gave the impression that there were no matching results when the menu
was reopened.

The `onSelect` logic was setting `state.unitedStates` to an empty array
which gave the impression that there were no matching results when the menu
was reopened.
@CMTegner CMTegner force-pushed the issue-81-fix-custom-menu-example-selection-logic branch from 5621d0f to e796f9b Compare July 13, 2016 18:24
@CMTegner CMTegner merged commit f8c30a5 into reactjs:master Jul 13, 2016
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