Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

FormGroupValidationPredicateContext.md

95 lines1.8 KB

Defined in: validation.public.ts:292

Extends

  • BaseValidationPredicateContext<any, TGroupValue, "group">

Type Parameters

TGroupValue

TGroupValue

Properties

fieldApi?

optional fieldApi?: AnyFieldApi;

Defined in: validation.public.ts:282

The field associated with this validation, if any.

For form and group validators, this is the field that triggered the validation. For field validators, this is the field being validated.

Inherited from

BaseValidationPredicateContext.fieldApi

formApi

formApi: FormApi<any, any>;

Defined in: validation.public.ts:275

Inherited from

BaseValidationPredicateContext.formApi

groupApi

groupApi: FormGroupApi<any, any, TGroupValue, any, any>;

Defined in: validation.public.ts:295


scope

scope: "group";

Defined in: validation.public.ts:274

Inherited from

BaseValidationPredicateContext.scope

value

value: TGroupValue;

Defined in: validation.public.ts:283

Inherited from

BaseValidationPredicateContext.value