Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModelState<VM>

In a form with validators this object returns the fields' states.

Type parameters

  • VM

Hierarchy

  • ModelState

Index

Properties

Properties

isValid

isValid: boolean

The summary of all states

state

state: Record<keyof VM, FieldState>

Set of states

validators

validators: Record<keyof VM, ErrorState>

The list of errors, each field with all states.

Generated using TypeDoc