Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • TValue: object

  • TResult

Hierarchy

  • ObservableForm

Implemented by

Index

Properties

changedFields

changedFields: ObservableFormFields

config

config: FormConfig<TValue, TResult>

dirtyFields

errors

result

result: ObservableValue<TResult | undefined>

submitted

submitted: ObservableValue<boolean>

submitting

submitting: ObservableValue<boolean>

values

values: ObservableFormValues<TValue>

Methods

configure

  • configure(config: Partial<FormConfig<TValue, TResult>>): this

deps

  • deps(field: string | string[], options?: DepsOptions): any[]

handler

listen

  • listen(callback: FormCallback<TValue, TResult>, notifyImmediately?: undefined | false | true): this
  • Parameters

    • callback: FormCallback<TValue, TResult>
    • Optional notifyImmediately: undefined | false | true

    Returns this

reset

  • reset(initialValues?: TValue): void

schema

  • schema(handler: ObjectSchema<TValue>): this
  • Parameters

    • handler: ObjectSchema<TValue>

    Returns this

submit

validate

validator