FormFieldModel constructor
FormFieldModel(
- WidgetModel? parent,
- String? id, {
- dynamic error,
- dynamic errortext,
- dynamic validationHasHit,
- dynamic hasDefaulted,
- dynamic editable,
- dynamic enabled,
- dynamic post,
- dynamic mandatory,
- dynamic onchange,
- dynamic onfocuslost,
- dynamic touched,
- dynamic alarmerrortext,
- dynamic systemerrortext,
Implementation
FormFieldModel(WidgetModel? parent, String? id,
{
dynamic error,
dynamic errortext,
dynamic validationHasHit,
dynamic hasDefaulted,
dynamic editable,
dynamic enabled,
dynamic post,
dynamic mandatory,
dynamic onchange,
dynamic onfocuslost,
dynamic touched,
dynamic alarmerrortext,
dynamic systemerrortext,
})
: super(parent, id) {
if (error != null) this.error = error;
if (errortext != null) this.errortext = errortext;
if (alarmerrortext != null) this.alarmerrortext = alarmerrortext;
if (systemerrortext != null) this.systemerrortext = systemerrortext;
if (editable != null) this.editable = editable;
if (enabled != null) this.enabled = enabled;
if (post != null) this.post = post;
if (mandatory != null) this.mandatory = mandatory;
if (onchange != null) this.onchange = onchange;
if (touched != null) this.touched = touched;
if (onfocuslost != null) this.onfocuslost = onfocuslost;
this.validationHasHit = false;
this.hasDefaulted = false;
alarming = false;
dirty = false;
}