Type Parameters

  • CONTROL extends MFC

Hierarchy (view full)

Constructors

Properties

_value: MargaritaFormState = ...
control: CONTROL
initialValue?: MargaritaFormState
subscriptions: Subscription[] = []
managerName: keyof Managers = 'state'

Accessors

  • get otherChanges(): Observable<unknown>
  • Returns Observable<unknown>

Methods

  • Validate the control and update state. Mark the control as touched to show errors.

    Parameters

    • setAsTouched: boolean = true

      Set the touched state to true

    Returns Promise<boolean>