add html5 component support to input_field

@carlosantoniodasilva should it be backported to v2.1?
closes #802