Defined in: validation.public.ts:24
TFormData
TValidator extends | StandardSchemaV1 | ValidatorFn<any, any>
TContextValue
TTrigger extends ValidatorTrigger = ValidatorTrigger
TScope extends ValidatorScope = ValidatorScope
optional bailIfInvalid?: boolean;Defined in: validation.public.ts:21
If true, this validator and all subsequent validators will be skipped if any previous validator has failed. If false, validators run regardless of earlier validation results.
falserun: TValidator;Defined in: validation.public.ts:14
optional runOnMount?: boolean;Defined in: validation.public.ts:45
Whether this validator should be called once when the form is constructed.
falseoptional runOnSubmit?:
| boolean
| ValidationPredicateFn<TFormData, TContextValue, TScope>;Defined in: validation.public.ts:38
TODO docs
Whether this validator should be called during a submission attempt.
trueoptional triggerDebounceMs?:
| number
| ValidationDebounceFn<TFormData, TContextValue, TScope>;Defined in: validation.public.ts:52
The debounce time in milliseconds for validation triggers (change, blur). Does not affect submit events, which always execute immediately.
0triggers: ValidationTriggerOption<TFormData, TContextValue, TTrigger, TScope>[];Defined in: validation.public.ts:54