154
rated 0 times
[
157]
[
3]
/ answers: 1 / hits: 118563
/ 7 Years ago, tue, january 24, 2017, 12:00:00
I have the following input field as below. On blur, the function calls a service to update the input value to the server, and once that's complete, it updates the input field.
How can I make it work? I can understand why it's not letting me change the fields but what can I do to make it work?
I can't use the defaultValue
because I will be changing these fields to some other ones
<input value={this.props.inputValue} onBlur={this.props.actions.updateInput} />
More From » reactjs