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

Fixes an issue if options are updated #53

Closed
wants to merge 2 commits into from

Conversation

bruderstein
Copy link
Collaborator

If the props.value was set, but then options were set later (in
componentWillReceiveProps), the selected value (props.value) would not
be selected from the new options.

Dave Brotherstone added 2 commits January 23, 2015 12:14
If the props.value was set, but then options were set later (in
componentWillReceiveProps), the selected value (props.value) would not
be selected from the new options.
@drewbanin
Copy link

👍, currently having this problem and this fix would be great!

@dcousens
Copy link
Collaborator

dcousens commented May 7, 2015

Can you please rebase and only change the source files? Cheers :)

@bruderstein
Copy link
Collaborator Author

This is now fixed in a newer and better commit :)

@bruderstein bruderstein closed this Aug 2, 2015
@bruderstein bruderstein deleted the fix-late-options branch August 9, 2015 10:16
bkoltai pushed a commit to bkoltai/react-select that referenced this pull request Sep 20, 2017
Update to JedWatson/react-select v1.0.0-rc.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants