Reset input after valid entry