0
Fork 0
mirror of https://github.com/TanStack/form.git synced 2026-11-18 07:36:42 +00:00
form/docs/reference/interfaces/ValidationLogicProps.md
2026-05-28 16:57:24 +00:00

1.9 KiB

id title
ValidationLogicProps ValidationLogicProps

Interface: ValidationLogicProps

Defined in: packages/form-core/src/ValidationLogic.ts:21

Properties

event

event: object;

Defined in: packages/form-core/src/ValidationLogic.ts:35

async

async: boolean;

fieldName?

optional fieldName: string;

type

type: "change" | "blur" | "submit" | "mount" | "server";

form

form: AnyFormApi;

Defined in: packages/form-core/src/ValidationLogic.ts:23


group?

optional group: AnyFormGroupApi;

Defined in: packages/form-core/src/ValidationLogic.ts:29

Set when the validators being processed belong to a FormGroupApi. Allows validation strategies (e.g. revalidateLogic) to gate their behavior on the group's own state instead of the parent form's.


runValidation()

runValidation: (props) => void;

Defined in: packages/form-core/src/ValidationLogic.ts:40

Parameters

props
form

AnyFormApi

validators

( | ValidationLogicValidatorsFn | undefined)[]

Returns

void


validators

validators: 
  | FormValidators<any, any, any, any, any, any, any, any, any, any>
  | null
  | undefined;

Defined in: packages/form-core/src/ValidationLogic.ts:31