ValidationLogicProps

Interface: ValidationLogicProps

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

Properties

event

ts
event: object;
event: object;

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

async

ts
async: boolean;
async: boolean;

fieldName?

ts
optional fieldName: string;
optional fieldName: string;

type

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

form

ts
form: AnyFormApi;
form: AnyFormApi;

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


runValidation()

ts
runValidation: (props) => void;
runValidation: (props) => void;

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

Parameters

props
form

AnyFormApi

validators

(undefined | ValidationLogicValidatorsFn)[]

Returns

void


validators

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

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

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.