Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFormState<T>

Describes Form state and FormContext

Type parameters

  • T

Hierarchy

  • IFormState

Index

Properties

Optional configure

Derived from props

handleChange

handleChange: function

Update model Field state and call onModelChange from props

Type declaration

    • (field: keyof T, value: IFieldState<T[keyof T]>): any
    • Parameters

      Returns any

handleReset

handleReset: function

Reset form to initValues and call onReset from props

Type declaration

    • (): any
    • Returns any

handleTransform

handleTransform: function

Used for updating multiple field values and call onModelChange from props

Type declaration

isChanged

isChanged: boolean

isSubmitting

isSubmitting: boolean

model

model: FormModel<T>

Current form values and Field flags

Generated using TypeDoc