Makes text input update on input event as well as change.