change text field events from onChange to onInput