<input type="text" />
<input type="submit" value="click" />
myValue: ''
(пустая строка):state = {
myValue: '',
}
handleChange = (e) => {
this.setState({ myValue: e.currentTarget.value })
}
<input onChange={this.handleChange} value={this.state.myValue}/>