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

Added ability to re-render based on change in data or options #17

Merged
merged 1 commit into from
Sep 14, 2015

Conversation

urvashi01
Copy link

For cases where data is fetched asynchronously and there is a need for upfront select component, one needs to be able to pass empty data initially and then change the data prop to the asynchronously fetched data.
This required for a change in componentWillReceiveProps to reflect the new data or changed options too in the select component.

@skratchdot
Copy link
Owner

Thanks for fixing this!

skratchdot added a commit that referenced this pull request Sep 14, 2015
Added ability to re-render based on change in data or options
@skratchdot skratchdot merged commit 66d2b3f into skratchdot:master Sep 14, 2015
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.

2 participants