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

FieldState.md

38 lines546 Bytes

1---
2id: FieldState
3title: FieldState
4---
5​
6# Type Alias: FieldState\<TData\>
7​
8```ts
9type FieldState<TData>: object;
10```
11​
12An object type representing the state of a field.
13​
14## Type Parameters
15​
16β€’ **TData**
17​
18## Type declaration
19​
20### meta
21​
22```ts
23meta: FieldMeta;
24```
25​
26The current metadata of the field.
27​
28### value
29​
30```ts
31value: TData;
32```
33​
34The current value of the field.
35​
36## Defined in
37​
38[packages/form-core/src/FieldApi.ts:361](https://github.com/TanStack/form/blob/a6313b7699753752ae30ff16c169e0b08c2369e8/packages/form-core/src/FieldApi.ts#L361)