Getting error while using material
ui textfield
Warning: TextField is changing a controlled input of type text to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component
export default class GoogleAutoComplete extends Component {
render() {
return (
<TextField
ref={(c) => this._input = c}
//errorText={this.state.errorText}
onChange={this.onChangeInput.bind(this)}
name={this.props.name}
placeholder='Search Location'
style={{width:'100%'}}
id={this.props.id}
value={this.state.location}
/>
)
}
}