this.setAllowNull(props.allowNull());
this.label = "".equals(props.label()) ? props.verboseName() : props.label();
this.helpText = props.helpText();
this.hidden = props.hidden();
this.setWidgetAttrs(props.widgetAttrs());
if (props.widgetClass() != FieldProperties.NoWidget.class) this.widgetClass = props.widgetClass();
}
public AbstractField<T> setName(String name) {
this.name = name;
return this;