fix(input): improve html5 validation support (v1.2.x)

This CL improves mocking support for HTML5 validation, and ensures that it
works correctly along with debounced commission of view values.