FormStore
FormStore extends FormGroup. Tracks the value and validity state of a group of AbstractControl instances.
Constructor
constructor(
    controls: { [key: string]: AbstractControl; },
    validatorOrOpts?: ValidatorFn | ValidatorFn[] | AbstractControlOptions | null,
    asyncValidator?: AsyncValidatorFn | AsyncValidatorFn[] | null
)
Properties
get isChanged
Returns true if any of FormStore's controls or relationships have changed.
| Property | Return type | 
|---|---|
| get isChanged() | boolean | 
formObject
Getter and setter for FormObject for this FormStore.
| Property | Return type | 
|---|---|
| set formObject(formObject: FormObject<T>) | |
| get formObject() | FormObject<T> | 
get model
| Property | Return type | 
|---|---|
| get model() | T | 
get isSubmitted
Returns true if FormStore.save method was already called, false otherwise.
| Property | Return type | 
|---|---|
| get isSubmitted() | boolean | 
Methods
save()
Initiates the saving process. See more about the saving process in the guide.
| Method | Return type | 
|---|---|
| save() | Observable<T> |