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

componentWillReceiveProps handles passing option as value incorrectly #601

Closed
wizhippo opened this issue Nov 18, 2015 · 1 comment
Closed

Comments

@wizhippo
Copy link

When passing an option as a value componentWillReceiveProps will always fire a state change and if using aysncOptions causing a fetch every time state is updated. This checks to see if the value prop is an object and and handles this special case.

https://github.com/wizhippo/react-select/tree/v0.9.1-fix-value-check

I know there is the new v1.0.0 but it does not support create and tags yet so this is still needed and I was unable to create a PR against v0.9.1 as it is a tag.

@jossmac
Copy link
Collaborator

jossmac commented Mar 17, 2020

Version 1 of react-select is no longer supported.

In the best interest of the community we've decided to spend the time we have available on the latest version.

We apologise for any inconvenience.

Please see:

  1. v1 to v2 upgrade guide
  2. v1 documentation and examples

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

No branches or pull requests

2 participants