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

Select is not changing value #592

Closed
simkesd opened this issue Nov 12, 2015 · 6 comments
Closed

Select is not changing value #592

simkesd opened this issue Nov 12, 2015 · 6 comments

Comments

@simkesd
Copy link

simkesd commented Nov 12, 2015

Hello, I am using Select.Async but cant seem to make it show selected value, even tough onChange shows correct value.
I have this

<Select.Async name="form-field-name" 
onChange={this._clientChange} 
autoload={false}
loadOptions={this.getOptions} />

options are successfully loaded (also loading bar is working) but when i click any element from select box input field remains empty. Any idea what could that be? what additional info can i provide?

Im using "react": "^0.14.1" and "react-select": "^1.0.0-beta5",

@azaharakis
Copy link

I'm also seeing this behaviour as well with all Beta versions using "react": "^0.14.1"

@bkniffler
Copy link

+1

@JedWatson
Copy link
Owner

The component now requires you to handle the value independently and pass it as a prop, does this help? It looks like you're not passing that in the code you've provided.

Check the examples to see how that works.

(previously, value would be managed internally, but this was causing a lot of problems so that feature has been removed for 1.0.0)

@bkniffler
Copy link

Ah, I noticed #586 is the problem for me.

@jonathanasquier
Copy link

+1

@santosh-k1
Copy link

i have updated the version of react-select to "react-select": "^2.0.0-beta.7", which is working fine there is no to call the css

image

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

7 participants