Change onChange to onInput