on-change to on-input for input fields