Add support for <input type="time"/>

Related to PR #5456