GenericItemForm<T> class

Constructors

GenericItemForm(FormGroup form, String? path)

Properties

containsData bool
no setter
currentForm → AbstractControl
no setter
dataControl → FormControl<T>?
no setter
dataErrors Map<String, Object>?
no setter
dataFocus → void
no setter
form → FormGroup
final
hashCode int
The hash code for this object.
no setterinherited
model GenericItem<T>
no setter
path String?
final
rawModel → dynamic
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dataControlPath() String
dataRemove({bool updateParent = true, bool emitEvent = true}) → void
dataSetDisabled(bool disabled, {bool updateParent = true, bool emitEvent = true}) → void
dataValuePatch(T? value, {bool updateParent = true, bool emitEvent = true}) → void
dataValueReset(T? value, {bool updateParent = true, bool emitEvent = true, bool removeFocus = false, bool? disabled}) → void
dataValueUpdate(T? value, {bool updateParent = true, bool emitEvent = true}) → void
equalsTo(GenericItem<T>? other) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pathBuilder(String? pathItem) String
reset({GenericItem<T>? value, bool updateParent = true, bool emitEvent = true}) → void
submit({required void onValid(GenericItem<T> model), void onNotValid()?}) → void
toggleDisabled({bool updateParent = true, bool emitEvent = true}) → void
toString() String
A string representation of this object.
inherited
updateValue(GenericItem<T>? value, {bool updateParent = true, bool emitEvent = true}) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

formElements<T>(GenericItem<T>? genericItem) → FormGroup

Constants

dataControlName → const String