[datetextfield] Set the type attribute of the <input> before calling super.onComponentTag() that makes a check