Form Docs
API Reference
- JavaScript Reference
- Classes / FieldApi
- Classes / FormApi
- Functions / formOptions
- Functions / mergeForm
- Interfaces / FieldApiOptions
- Interfaces / FieldOptions
- Interfaces / FieldValidators
- Interfaces / FormOptions
- Interfaces / FormValidators
- Types / DeepKeys
- Types / DeepValue
- Types / AnyFieldMeta
- Types / BaseFormState
- Types / DerivedFormState
- Types / Updater
- Types / UpdaterFn
- Types / ValidationError
- Types / ValidationMeta
- React Reference
- Variables / Field
- Functions / useField
- Functions / useForm
- Types / FieldComponent
- Types / UseField
AI/LLM: This documentation page is available in plain markdown format at/form/latest/docs/reference/interfaces/ValidationLogicProps.md
ValidationLogicProps
Defined in: packages/form-core/src/ValidationLogic.ts:21
Properties#
event#
ts
event: object;Defined in: packages/form-core/src/ValidationLogic.ts:35
async#
ts
async: boolean;fieldName?#
ts
optional fieldName: string;type#
ts
type: "change" | "blur" | "submit" | "mount" | "server";form#
ts
form: AnyFormApi;Defined in: packages/form-core/src/ValidationLogic.ts:23
group?#
ts
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()#
ts
runValidation: (props) => void;Defined in: packages/form-core/src/ValidationLogic.ts:40
Parameters#
props#
form#
validators#
( | ValidationLogicValidatorsFn | undefined)[]
Returns#
void
validators#
ts
validators:
| FormValidators<any, any, any, any, any, any, any, any, any, any>
| null
| undefined;Defined in: packages/form-core/src/ValidationLogic.ts:31