react input type=number onchange