Add support for HTML5 input elements to `setValue` method