S
S
Stepan2016-02-01 02:26:48
JavaScript
Stepan, 2016-02-01 02:26:48

Why is onChange not firing on input in React?

<input type="text" name="avatar" value={this.state.inputAvatar} onChange={avatar.onChange} {...avatar} />

There is such an input when the value changes, that is, the state.
Nothing happens
What could be the reason?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question