react-fuzzy-search icon indicating copy to clipboard operation
react-fuzzy-search copied to clipboard

input changing an uncontrolled input of type text to be controlled

Open master-elodin opened this issue 6 years ago • 0 comments

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}

master-elodin avatar Jun 29 '18 02:06 master-elodin