Documentation
Framework
Version
API Reference

ValidationLogicProps

Interface: ValidationLogicProps

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

Properties

event

event: object;
event: object;

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

async

async: boolean;
async: boolean;

fieldName?

optional fieldName: string;
optional fieldName: string;

type

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

form

form: AnyFormApi;
form: AnyFormApi;

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


runValidation()

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

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

Our Partners
Code Rabbit
Cloudflare
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.