Skip to content

Commit 2fd4271

Browse files
fix: subfields should now return the correct validation errors in TS (#1176)
* fix: subfields should now return the correct validation errors in TS * ci: apply automated fixes and generate docs --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 436f638 commit 2fd4271

18 files changed

+167
-86
lines changed

docs/reference/classes/fieldapi.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: FieldApi
77

88
# Class: FieldApi\<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnServer\>
99

10-
Defined in: [packages/form-core/src/FieldApi.ts:832](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L832)
10+
Defined in: [packages/form-core/src/FieldApi.ts:858](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L858)
1111

1212
A class representing the API for managing a form field.
1313

@@ -63,7 +63,7 @@ the `new FieldApi` constructor.
6363
new FieldApi<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnServer>(opts): FieldApi<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnServer>
6464
```
6565

66-
Defined in: [packages/form-core/src/FieldApi.ts:943](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L943)
66+
Defined in: [packages/form-core/src/FieldApi.ts:969](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L969)
6767

6868
Initializes a new `FieldApi` instance.
6969

@@ -85,7 +85,7 @@ Initializes a new `FieldApi` instance.
8585
form: FormApi<TParentData, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnServer>;
8686
```
8787

88-
Defined in: [packages/form-core/src/FieldApi.ts:861](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L861)
88+
Defined in: [packages/form-core/src/FieldApi.ts:887](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L887)
8989

9090
A reference to the form API instance.
9191

@@ -97,7 +97,7 @@ A reference to the form API instance.
9797
name: unknown extends TParentData ? string : TParentData extends readonly any[] & IsTuple<TParentData> ? PrefixTupleAccessor<TParentData<TParentData>, AllowedIndexes<TParentData<TParentData>, never>, []> : TParentData extends any[] ? PrefixArrayAccessor<TParentData<TParentData>, [any]> : TParentData extends Date ? never : TParentData extends object ? PrefixObjectAccessor<TParentData<TParentData>, []> : TParentData extends string | number | bigint | boolean ? "" : never;
9898
```
9999

100-
Defined in: [packages/form-core/src/FieldApi.ts:884](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L884)
100+
Defined in: [packages/form-core/src/FieldApi.ts:910](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L910)
101101

102102
The field name.
103103

@@ -109,7 +109,7 @@ The field name.
109109
options: FieldApiOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnServer>;
110110
```
111111

112-
Defined in: [packages/form-core/src/FieldApi.ts:888](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L888)
112+
Defined in: [packages/form-core/src/FieldApi.ts:914](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L914)
113113

114114
The field options.
115115

@@ -121,7 +121,7 @@ The field options.
121121
store: Derived<FieldState<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync>>;
122122
```
123123

124-
Defined in: [packages/form-core/src/FieldApi.ts:911](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L911)
124+
Defined in: [packages/form-core/src/FieldApi.ts:937](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L937)
125125

126126
The field state store.
127127

@@ -133,7 +133,7 @@ The field state store.
133133
timeoutIds: Record<ValidationCause, null | Timeout>;
134134
```
135135

136-
Defined in: [packages/form-core/src/FieldApi.ts:938](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L938)
136+
Defined in: [packages/form-core/src/FieldApi.ts:964](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L964)
137137

138138
## Accessors
139139

@@ -145,7 +145,7 @@ Defined in: [packages/form-core/src/FieldApi.ts:938](https://github.com/TanStack
145145
get state(): FieldState<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync>
146146
```
147147

148-
Defined in: [packages/form-core/src/FieldApi.ts:935](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L935)
148+
Defined in: [packages/form-core/src/FieldApi.ts:961](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L961)
149149

150150
The current field state.
151151

@@ -161,7 +161,7 @@ The current field state.
161161
getInfo(): FieldInfo<TParentData>
162162
```
163163

164-
Defined in: [packages/form-core/src/FieldApi.ts:1189](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1189)
164+
Defined in: [packages/form-core/src/FieldApi.ts:1215](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1215)
165165

166166
Gets the field information object.
167167

@@ -177,7 +177,7 @@ Gets the field information object.
177177
getMeta(): FieldMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync>
178178
```
179179

180-
Defined in: [packages/form-core/src/FieldApi.ts:1157](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1157)
180+
Defined in: [packages/form-core/src/FieldApi.ts:1183](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1183)
181181

182182
#### Returns
183183

@@ -191,7 +191,7 @@ Defined in: [packages/form-core/src/FieldApi.ts:1157](https://github.com/TanStac
191191
getValue(): TData
192192
```
193193

194-
Defined in: [packages/form-core/src/FieldApi.ts:1139](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1139)
194+
Defined in: [packages/form-core/src/FieldApi.ts:1165](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1165)
195195

196196
Gets the current field value.
197197

@@ -211,7 +211,7 @@ Use `field.state.value` instead.
211211
handleBlur(): void
212212
```
213213

214-
Defined in: [packages/form-core/src/FieldApi.ts:1561](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1561)
214+
Defined in: [packages/form-core/src/FieldApi.ts:1587](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1587)
215215

216216
Handles the blur event.
217217

@@ -227,7 +227,7 @@ Handles the blur event.
227227
handleChange(updater): void
228228
```
229229

230-
Defined in: [packages/form-core/src/FieldApi.ts:1554](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1554)
230+
Defined in: [packages/form-core/src/FieldApi.ts:1580](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1580)
231231

232232
Handles the change event.
233233

@@ -252,7 +252,7 @@ insertValue(
252252
opts?): Promise<void>
253253
```
254254
255-
Defined in: [packages/form-core/src/FieldApi.ts:1202](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1202)
255+
Defined in: [packages/form-core/src/FieldApi.ts:1228](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1228)
256256
257257
Inserts a value at the specified index, shifting the subsequent values to the right.
258258
@@ -282,7 +282,7 @@ Inserts a value at the specified index, shifting the subsequent values to the ri
282282
mount(): () => void
283283
```
284284
285-
Defined in: [packages/form-core/src/FieldApi.ts:1046](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1046)
285+
Defined in: [packages/form-core/src/FieldApi.ts:1072](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1072)
286286
287287
Mounts the field instance to the form.
288288
@@ -305,7 +305,7 @@ moveValue(
305305
opts?): void
306306
```
307307
308-
Defined in: [packages/form-core/src/FieldApi.ts:1232](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1232)
308+
Defined in: [packages/form-core/src/FieldApi.ts:1258](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1258)
309309
310310
Moves the value at the first specified index to the second specified index.
311311
@@ -335,7 +335,7 @@ Moves the value at the first specified index to the second specified index.
335335
pushValue(value, opts?): void
336336
```
337337
338-
Defined in: [packages/form-core/src/FieldApi.ts:1194](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1194)
338+
Defined in: [packages/form-core/src/FieldApi.ts:1220](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1220)
339339
340340
Pushes a new value to the field.
341341
@@ -361,7 +361,7 @@ Pushes a new value to the field.
361361
removeValue(index, opts?): Promise<void>
362362
```
363363
364-
Defined in: [packages/form-core/src/FieldApi.ts:1220](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1220)
364+
Defined in: [packages/form-core/src/FieldApi.ts:1246](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1246)
365365
366366
Removes a value at the specified index.
367367
@@ -390,7 +390,7 @@ replaceValue(
390390
opts?): Promise<void>
391391
```
392392
393-
Defined in: [packages/form-core/src/FieldApi.ts:1211](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1211)
393+
Defined in: [packages/form-core/src/FieldApi.ts:1237](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1237)
394394
395395
Replaces a value at the specified index.
396396
@@ -420,7 +420,7 @@ Replaces a value at the specified index.
420420
setErrorMap(errorMap): void
421421
```
422422
423-
Defined in: [packages/form-core/src/FieldApi.ts:1581](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1581)
423+
Defined in: [packages/form-core/src/FieldApi.ts:1607](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1607)
424424
425425
Updates the field's errorMap
426426
@@ -442,7 +442,7 @@ Updates the field's errorMap
442442
setMeta(updater): void
443443
```
444444
445-
Defined in: [packages/form-core/src/FieldApi.ts:1162](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1162)
445+
Defined in: [packages/form-core/src/FieldApi.ts:1188](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1188)
446446
447447
Sets the field metadata.
448448
@@ -464,7 +464,7 @@ Sets the field metadata.
464464
setValue(updater, options?): void
465465
```
466466
467-
Defined in: [packages/form-core/src/FieldApi.ts:1146](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1146)
467+
Defined in: [packages/form-core/src/FieldApi.ts:1172](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1172)
468468
469469
Sets the field value and run the `change` validator.
470470
@@ -493,7 +493,7 @@ swapValues(
493493
opts?): void
494494
```
495495
496-
Defined in: [packages/form-core/src/FieldApi.ts:1226](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1226)
496+
Defined in: [packages/form-core/src/FieldApi.ts:1252](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1252)
497497
498498
Swaps the values at the specified indices.
499499
@@ -523,7 +523,7 @@ Swaps the values at the specified indices.
523523
update(opts): void
524524
```
525525
526-
Defined in: [packages/form-core/src/FieldApi.ts:1088](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1088)
526+
Defined in: [packages/form-core/src/FieldApi.ts:1114](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1114)
527527
528528
Updates the field instance with new options.
529529
@@ -545,7 +545,7 @@ Updates the field instance with new options.
545545
validate(cause, opts?): unknown[] | Promise<unknown[]>
546546
```
547547
548-
Defined in: [packages/form-core/src/FieldApi.ts:1521](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1521)
548+
Defined in: [packages/form-core/src/FieldApi.ts:1547](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L1547)
549549
550550
Validates the field value.
551551

docs/reference/interfaces/fieldapioptions.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: FieldApiOptions
77

88
# Interface: FieldApiOptions\<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnServer\>
99

10-
Defined in: [packages/form-core/src/FieldApi.ts:423](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L423)
10+
Defined in: [packages/form-core/src/FieldApi.ts:449](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L449)
1111

1212
An object type representing the required options for the FieldApi class.
1313

@@ -61,7 +61,7 @@ An object type representing the required options for the FieldApi class.
6161
optional asyncAlways: boolean;
6262
```
6363

64-
Defined in: [packages/form-core/src/FieldApi.ts:370](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L370)
64+
Defined in: [packages/form-core/src/FieldApi.ts:396](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L396)
6565

6666
If `true`, always run async validation, even if there are errors emitted during synchronous validation.
6767

@@ -77,7 +77,7 @@ If `true`, always run async validation, even if there are errors emitted during
7777
optional asyncDebounceMs: number;
7878
```
7979

80-
Defined in: [packages/form-core/src/FieldApi.ts:366](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L366)
80+
Defined in: [packages/form-core/src/FieldApi.ts:392](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L392)
8181

8282
The default time to debounce async validation if there is not a more specific debounce time passed.
8383

@@ -93,7 +93,7 @@ The default time to debounce async validation if there is not a more specific de
9393
optional defaultMeta: Partial<FieldMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, any, any, any, any, any, any, any>>;
9494
```
9595

96-
Defined in: [packages/form-core/src/FieldApi.ts:389](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L389)
96+
Defined in: [packages/form-core/src/FieldApi.ts:415](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L415)
9797

9898
An optional object with default metadata for the field.
9999

@@ -109,7 +109,7 @@ An optional object with default metadata for the field.
109109
optional defaultValue: NoInfer<TData>;
110110
```
111111

112-
Defined in: [packages/form-core/src/FieldApi.ts:362](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L362)
112+
Defined in: [packages/form-core/src/FieldApi.ts:388](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L388)
113113

114114
An optional default value for the field.
115115

@@ -125,7 +125,7 @@ An optional default value for the field.
125125
optional disableErrorFlat: boolean;
126126
```
127127

128-
Defined in: [packages/form-core/src/FieldApi.ts:417](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L417)
128+
Defined in: [packages/form-core/src/FieldApi.ts:443](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L443)
129129

130130
Disable the `flat(1)` operation on `field.errors`. This is useful if you want to keep the error structure as is. Not suggested for most use-cases.
131131

@@ -141,7 +141,7 @@ Disable the `flat(1)` operation on `field.errors`. This is useful if you want to
141141
form: FormApi<TParentData, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnServer>;
142142
```
143143

144-
Defined in: [packages/form-core/src/FieldApi.ts:460](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L460)
144+
Defined in: [packages/form-core/src/FieldApi.ts:486](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L486)
145145

146146
***
147147

@@ -151,7 +151,7 @@ Defined in: [packages/form-core/src/FieldApi.ts:460](https://github.com/TanStack
151151
optional listeners: FieldListeners<TParentData, TName, TData>;
152152
```
153153

154-
Defined in: [packages/form-core/src/FieldApi.ts:413](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L413)
154+
Defined in: [packages/form-core/src/FieldApi.ts:439](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L439)
155155

156156
A list of listeners which attach to the corresponding events
157157

@@ -167,7 +167,7 @@ A list of listeners which attach to the corresponding events
167167
name: TName;
168168
```
169169

170-
Defined in: [packages/form-core/src/FieldApi.ts:358](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L358)
170+
Defined in: [packages/form-core/src/FieldApi.ts:384](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L384)
171171

172172
The field name. The type will be `DeepKeys<TParentData>` to ensure your name is a deep key of the parent dataset.
173173

@@ -183,7 +183,7 @@ The field name. The type will be `DeepKeys<TParentData>` to ensure your name is
183183
optional validators: FieldValidators<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync>;
184184
```
185185

186-
Defined in: [packages/form-core/src/FieldApi.ts:374](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L374)
186+
Defined in: [packages/form-core/src/FieldApi.ts:400](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L400)
187187

188188
A list of validators to pass to the field
189189

docs/reference/interfaces/fieldlisteners.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: FieldListeners
77

88
# Interface: FieldListeners\<TParentData, TName, TData\>
99

10-
Defined in: [packages/form-core/src/FieldApi.ts:323](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L323)
10+
Defined in: [packages/form-core/src/FieldApi.ts:349](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L349)
1111

1212
## Type Parameters
1313

@@ -25,7 +25,7 @@ Defined in: [packages/form-core/src/FieldApi.ts:323](https://github.com/TanStack
2525
optional onBlur: FieldListenerFn<TParentData, TName, TData>;
2626
```
2727

28-
Defined in: [packages/form-core/src/FieldApi.ts:329](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L329)
28+
Defined in: [packages/form-core/src/FieldApi.ts:355](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L355)
2929

3030
***
3131

@@ -35,7 +35,7 @@ Defined in: [packages/form-core/src/FieldApi.ts:329](https://github.com/TanStack
3535
optional onChange: FieldListenerFn<TParentData, TName, TData>;
3636
```
3737

38-
Defined in: [packages/form-core/src/FieldApi.ts:328](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L328)
38+
Defined in: [packages/form-core/src/FieldApi.ts:354](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L354)
3939

4040
***
4141

@@ -45,7 +45,7 @@ Defined in: [packages/form-core/src/FieldApi.ts:328](https://github.com/TanStack
4545
optional onMount: FieldListenerFn<TParentData, TName, TData>;
4646
```
4747

48-
Defined in: [packages/form-core/src/FieldApi.ts:330](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L330)
48+
Defined in: [packages/form-core/src/FieldApi.ts:356](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L356)
4949

5050
***
5151

@@ -55,4 +55,4 @@ Defined in: [packages/form-core/src/FieldApi.ts:330](https://github.com/TanStack
5555
optional onSubmit: FieldListenerFn<TParentData, TName, TData>;
5656
```
5757

58-
Defined in: [packages/form-core/src/FieldApi.ts:331](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L331)
58+
Defined in: [packages/form-core/src/FieldApi.ts:357](https://github.com/TanStack/form/blob/main/packages/form-core/src/FieldApi.ts#L357)

0 commit comments

Comments
 (0)