Margarita form reference documentation

    Class ValueManager<CONTROL>

    Type Parameters

    • CONTROL extends MFC

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

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

    Accessors

    • get otherChanges(): Observable<unknown>

      Returns Observable<unknown>

    Methods

    • Parameters

      • allowExtensionValue: boolean = true

      Returns any

    • Parameters

      • childControl: MFC
      • setAsDirty: boolean = true
      • emitEvent: boolean = true

      Returns void

    • Parameters

      • patch: boolean
      • setAsDirty: boolean = true
      • emitEvent: boolean = true

      Returns void

    • Parameters

      • setAsDirty: boolean = true
      • emitEvent: boolean = true
      • patch: boolean = false
      • updateParent: boolean = false
      • updateChildren: boolean = false

      Returns Promise<void>

    • Parameters

      • origin: boolean = true
      • initial: boolean = true

      Returns void

    • Set value of the control

      Parameters

      • value: unknown

        value to set

      • setAsDirty: boolean = true

        update dirty state to true

      • emitEvent: boolean = true
      • patch: boolean = false
      • updateParent: boolean = true
      • updateChildren: boolean = true

      Returns void

    MMNEPVFCICPMFPCPTTAAATR