Closed wayne1203 closed 6 years ago
Hi, the problem should be fixed with the next version of React (next week).
The following code might be helpful:
`
` ` constructor(props) { super(props); this.state = {value: 'John Doe'}; this.handleChange = this.handleChange.bind(this); } handleChange(event) { this.setState({value: event.target.value}); }` Regards
I'm using 4.3.0 of mdbreact
I would like to clear the input value using state but not work.
Here is my code
It's work fine if I use HTML code, maybe componentWillReceiveProps problem?