onChange called when the user stops changing the value
onChange called when the user stops changing the value