Supports more input styles than just type='text'. State
styles added.