Open History to see the last commit
Defined in: validation.public.ts:491
Extends#
Validator<TGroupValue, |FormGroupValidatorFn<TGroupValue> |StandardSchemaV1<TGroupValue,any>,TGroupValue,ConfigurableValidationTrigger,"group">
Type Parameters#
TGroupValue#
TGroupValue
Properties#
bailIfInvalid?#
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.
Default#
false
Inherited from#
run#
run:
| FormGroupValidatorFn<TGroupValue>
| StandardSchemaV1<TGroupValue, any>;
Defined in: validation.public.ts:14
Inherited from#
runOnMount?#
optional runOnMount?: boolean;
Defined in: validation.public.ts:45
Whether this validator should be called once when the form is constructed.
Default#
false
Inherited from#
runOnSubmit?#
optional runOnSubmit?:
| boolean
| ValidationPredicateFn<TGroupValue, TGroupValue, "group">;
Defined in: validation.public.ts:38
TODO docs
Whether this validator should be called during a submission attempt.
Default#
true
Inherited from#
triggerDebounceMs?#
optional triggerDebounceMs?:
| number
| ValidationDebounceFn<TGroupValue, TGroupValue, "group">;
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.
Default#
0
Inherited from#
triggers#
triggers: ValidationTriggerOption<TGroupValue, TGroupValue, ConfigurableValidationTrigger, "group">[];
Defined in: validation.public.ts:54