Skip to main content

Interface: FormData<VS, SD, ES, WS>

Type parameters#

NameTypeDescription
VSVSType of form value state.
SDunknownType of submit handler result.
ESundefinedType of form error state.
WSundefinedType of form warning state.

Properties#

errors#

• Optional errors: ES


focusedPath#

• Optional focusedPath: string


initialValues#

• initialValues: VS


pendingValues#

• pendingValues: VS


result#

• Optional result: SD


submitErrors#

• Optional submitErrors: ES


submitStatus#

• submitStatus: FormSubmitStatus


touchedMap#

• touchedMap: Record<string, boolean>


values#

• values: VS


visitedMap#

• visitedMap: Record<string, boolean>


warnings#

• Optional warnings: WS