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

input changing an uncontrolled input of type text to be controlled #27

Open
master-elodin opened this issue Jun 29, 2018 · 0 comments
Open

Comments

@master-elodin
Copy link
Contributor

master-elodin commented Jun 29, 2018

warning.js:33 Warning: A component is changing an uncontrolled input of type text to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components
    in input (created by FuzzySearch)
    in div (created by FuzzySearch)
    in div (created by FuzzySearch)
    in FuzzySearch (created by Header)
    in ...

Caused by:
value={this.state.selectedValue && this.state.selectedValue.title}

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 a pull request may close this issue.

1 participant