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

ErrorVisibilityFieldMeta.md

128 lines2.7 KB

Defined in: validation.public.ts:278

Field state flags available to an error visibility policy.

Properties

isBlurred

isBlurred: boolean;

Defined in: validation.public.ts:292

true when this field is marked as blurred.


isDefaultValue

isDefaultValue: boolean;

Defined in: validation.public.ts:290

true when the current value equals the field's default value.


isDirty

isDirty: boolean;

Defined in: validation.public.ts:284

true when this field or a descendant is marked as dirty.


isPristine

isPristine: boolean;

Defined in: validation.public.ts:288

true when neither this field nor its descendants are marked as dirty.


isSelfDirty

isSelfDirty: boolean;

Defined in: validation.public.ts:286

true when this field itself is marked as dirty.


isSelfTouched

isSelfTouched: boolean;

Defined in: validation.public.ts:282

true when this field itself is marked as touched.


isSelfValidating

isSelfValidating: boolean;

Defined in: validation.public.ts:296

true while this field itself is validating.


isTouched

isTouched: boolean;

Defined in: validation.public.ts:280

true when this field or a descendant is marked as touched.


isValidating

isValidating: boolean;

Defined in: validation.public.ts:294

true while this field or a descendant is validating.


subfields

subfields: ErrorVisibilitySubfieldsMeta;

Defined in: validation.public.ts:298

State flags for this field's descendants.