Set field type on wtform Field