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

Override state value #85

Closed
jadonald-s1 opened this issue Nov 3, 2015 · 3 comments
Closed

Override state value #85

jadonald-s1 opened this issue Nov 3, 2015 · 3 comments

Comments

@jadonald-s1
Copy link

I have added value={this.state.autosuggestValue} to the autosuggest control. I thought that this would allow me to set and change the state of the control, however it does not let me do this. When I set the initial state using getInitialState() I can call it outside the autosuggest control like {this.state.autosuggestValue} and it displays fine, but it does not set the value of the autosuggest control. Can anyone help with this?

@yantakus
Copy link

yantakus commented Nov 8, 2015

Same question.

@moroshko
Copy link
Owner

Have you checked out the Controlled Component example? Can you share some code/gist that demonstrates the issue?

@yantakus
Copy link

@moroshko I described my question in detail here: #84 (comment)

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

3 participants