How to fix Warning: Received both `onChange` and `onInput` events for input in React | DevErrors