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

ErrorVisibilityFieldMeta.md

128 lines2.7 KB

1---
2id: ErrorVisibilityFieldMeta
3title: ErrorVisibilityFieldMeta
4---
5​
6Defined in: [validation.public.ts:278](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L278)
7​
8Field state flags available to an error visibility policy.
9​
10## Properties
11​
12### isBlurred
13​
14```ts
15isBlurred: boolean;
16```
17​
18Defined in: [validation.public.ts:292](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L292)
19​
20`true` when this field is marked as blurred.
21​
22***
23​
24### isDefaultValue
25​
26```ts
27isDefaultValue: boolean;
28```
29​
30Defined in: [validation.public.ts:290](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L290)
31​
32`true` when the current value equals the field's default value.
33​
34***
35​
36### isDirty
37​
38```ts
39isDirty: boolean;
40```
41​
42Defined in: [validation.public.ts:284](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L284)
43​
44`true` when this field or a descendant is marked as dirty.
45​
46***
47​
48### isPristine
49​
50```ts
51isPristine: boolean;
52```
53​
54Defined in: [validation.public.ts:288](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L288)
55​
56`true` when neither this field nor its descendants are marked as dirty.
57​
58***
59​
60### isSelfDirty
61​
62```ts
63isSelfDirty: boolean;
64```
65​
66Defined in: [validation.public.ts:286](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L286)
67​
68`true` when this field itself is marked as dirty.
69​
70***
71​
72### isSelfTouched
73​
74```ts
75isSelfTouched: boolean;
76```
77​
78Defined in: [validation.public.ts:282](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L282)
79​
80`true` when this field itself is marked as touched.
81​
82***
83​
84### isSelfValidating
85​
86```ts
87isSelfValidating: boolean;
88```
89​
90Defined in: [validation.public.ts:296](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L296)
91​
92`true` while this field itself is validating.
93​
94***
95​
96### isTouched
97​
98```ts
99isTouched: boolean;
100```
101​
102Defined in: [validation.public.ts:280](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L280)
103​
104`true` when this field or a descendant is marked as touched.
105​
106***
107​
108### isValidating
109​
110```ts
111isValidating: boolean;
112```
113​
114Defined in: [validation.public.ts:294](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L294)
115​
116`true` while this field or a descendant is validating.
117​
118***
119​
120### subfields
121​
122```ts
123subfields: ErrorVisibilitySubfieldsMeta;
124```
125​
126Defined in: [validation.public.ts:298](https://github.com/TanStack/form/blob/main/packages/form-core/src/validation.public.ts#L298)
127​
128State flags for this field's descendants.