@@ -119,7 +119,7 @@ Defined in: [packages/form-core/src/FormApi.ts:377](https://github.com/TanStack/
119
119
deleteField <TField >(field ): void
120
120
` ` `
121
121
122
- Defined in: [packages/form-core/src/FormApi.ts:1182 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1182 )
122
+ Defined in: [packages/form-core/src/FormApi.ts:1194 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1194 )
123
123
124
124
#### Type Parameters
125
125
@@ -143,7 +143,7 @@ Defined in: [packages/form-core/src/FormApi.ts:1182](https://github.com/TanStack
143
143
getFieldInfo <TField >(field ): FieldInfo < TFormData , TFormValidator >
144
144
` ` `
145
145
146
- Defined in: [packages/form-core/src/FormApi.ts:1091 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1091 )
146
+ Defined in: [packages/form-core/src/FormApi.ts:1103 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1103 )
147
147
148
148
Gets the field info of the specified field.
149
149
@@ -169,7 +169,7 @@ Gets the field info of the specified field.
169
169
getFieldMeta <TField >(field ): undefined | FieldMeta
170
170
` ` `
171
171
172
- Defined in: [packages/form-core/src/FormApi.ts:1082 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1082 )
172
+ Defined in: [packages/form-core/src/FormApi.ts:1094 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1094 )
173
173
174
174
Gets the metadata of the specified field.
175
175
@@ -195,7 +195,7 @@ Gets the metadata of the specified field.
195
195
getFieldValue <TField >(field ): DeepValue < TFormData , TField , IsNullable < TFormData >>
196
196
` ` `
197
197
198
- Defined in: [packages/form-core/src/FormApi.ts:1075 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1075 )
198
+ Defined in: [packages/form-core/src/FormApi.ts:1087 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1087 )
199
199
200
200
Gets the value of the specified field.
201
201
@@ -221,7 +221,7 @@ Gets the value of the specified field.
221
221
handleSubmit (): Promise < void >
222
222
` ` `
223
223
224
- Defined in: [packages/form-core/src/FormApi.ts:1016 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1016 )
224
+ Defined in: [packages/form-core/src/FormApi.ts:1028 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1028 )
225
225
226
226
Handles the form submission, performs validation, and calls the appropriate onSubmit or onInvalidSubmit callbacks.
227
227
@@ -241,7 +241,7 @@ insertFieldValue<TField>(
241
241
opts ? ): Promise < void >
242
242
` ` `
243
243
244
- Defined in: [packages/form-core/src/FormApi.ts:1214 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1214 )
244
+ Defined in: [packages/form-core/src/FormApi.ts:1226 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1226 )
245
245
246
246
Inserts a value into an array field at the specified index, shifting the subsequent values to the right.
247
247
@@ -279,7 +279,7 @@ Inserts a value into an array field at the specified index, shifting the subsequ
279
279
mount (): () => void
280
280
` ` `
281
281
282
- Defined in: [packages/form-core/src/FormApi.ts:595 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L595 )
282
+ Defined in: [packages/form-core/src/FormApi.ts:607 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L607 )
283
283
284
284
#### Returns
285
285
@@ -301,7 +301,7 @@ moveFieldValues<TField>(
301
301
opts ? ): void
302
302
` ` `
303
303
304
- Defined in: [packages/form-core/src/FormApi.ts:1332 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1332 )
304
+ Defined in: [packages/form-core/src/FormApi.ts:1344 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1344 )
305
305
306
306
Moves the value at the first specified index to the second specified index within an array field.
307
307
@@ -342,7 +342,7 @@ pushFieldValue<TField>(
342
342
opts ? ): void
343
343
` ` `
344
344
345
- Defined in: [packages/form-core/src/FormApi.ts:1196 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1196 )
345
+ Defined in: [packages/form-core/src/FormApi.ts:1208 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1208 )
346
346
347
347
Pushes a value into an array field.
348
348
@@ -379,7 +379,7 @@ removeFieldValue<TField>(
379
379
opts ? ): Promise < void >
380
380
` ` `
381
381
382
- Defined in: [packages/form-core/src/FormApi.ts:1267 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1267 )
382
+ Defined in: [packages/form-core/src/FormApi.ts:1279 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1279 )
383
383
384
384
Removes a value from an array field at the specified index.
385
385
@@ -417,7 +417,7 @@ replaceFieldValue<TField>(
417
417
opts ? ): Promise < void >
418
418
` ` `
419
419
420
- Defined in: [packages/form-core/src/FormApi.ts:1241 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1241 )
420
+ Defined in: [packages/form-core/src/FormApi.ts:1253 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1253 )
421
421
422
422
Replaces a value into an array field at the specified index.
423
423
@@ -455,7 +455,7 @@ Replaces a value into an array field at the specified index.
455
455
reset (values ? , opts ? ): void
456
456
` ` `
457
457
458
- Defined in: [packages/form-core/src/FormApi.ts:656 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L656 )
458
+ Defined in: [packages/form-core/src/FormApi.ts:668 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L668 )
459
459
460
460
Resets the form state to the default values.
461
461
If values are provided, the form will be reset to those values instead and the default values will be updated.
@@ -488,7 +488,7 @@ Optional options to control the reset behavior.
488
488
resetFieldMeta <TField >(fieldMeta ): Record < TField , FieldMeta >
489
489
` ` `
490
490
491
- Defined in: [packages/form-core/src/FormApi.ts:1128 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1128 )
491
+ Defined in: [packages/form-core/src/FormApi.ts:1140 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1140 )
492
492
493
493
#### Type Parameters
494
494
@@ -512,7 +512,7 @@ Defined in: [packages/form-core/src/FormApi.ts:1128](https://github.com/TanStack
512
512
setErrorMap (errorMap ): void
513
513
` ` `
514
514
515
- Defined in: [packages/form-core/src/FormApi.ts:1356 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1356 )
515
+ Defined in: [packages/form-core/src/FormApi.ts:1368 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1368 )
516
516
517
517
Updates the form's errorMap
518
518
@@ -534,7 +534,7 @@ Updates the form's errorMap
534
534
setFieldMeta <TField >(field , updater ): void
535
535
` ` `
536
536
537
- Defined in: [packages/form-core/src/FormApi.ts:1110 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1110 )
537
+ Defined in: [packages/form-core/src/FormApi.ts:1122 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1122 )
538
538
539
539
Updates the metadata of the specified field.
540
540
@@ -567,7 +567,7 @@ setFieldValue<TField>(
567
567
opts ? ): void
568
568
` ` `
569
569
570
- Defined in: [packages/form-core/src/FormApi.ts:1152 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1152 )
570
+ Defined in: [packages/form-core/src/FormApi.ts:1164 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1164 )
571
571
572
572
Sets the value of the specified field and optionally updates the touched state.
573
573
@@ -605,7 +605,7 @@ swapFieldValues<TField>(
605
605
opts ? ): void
606
606
` ` `
607
607
608
- Defined in: [packages/form-core/src/FormApi.ts:1306 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1306 )
608
+ Defined in: [packages/form-core/src/FormApi.ts:1318 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1318 )
609
609
610
610
Swaps the values at the specified indices within an array field.
611
611
@@ -643,7 +643,7 @@ Swaps the values at the specified indices within an array field.
643
643
update (options ? ): void
644
644
` ` `
645
645
646
- Defined in: [packages/form-core/src/FormApi.ts:612 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L612 )
646
+ Defined in: [packages/form-core/src/FormApi.ts:624 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L624 )
647
647
648
648
Updates the form options and form state.
649
649
@@ -665,7 +665,7 @@ Updates the form options and form state.
665
665
validateAllFields (cause ): Promise < ValidationError []>
666
666
` ` `
667
667
668
- Defined in: [packages/form-core/src/FormApi.ts:682 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L682 )
668
+ Defined in: [packages/form-core/src/FormApi.ts:694 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L694 )
669
669
670
670
Validates form and all fields in using the correct handlers for a given validation cause.
671
671
@@ -690,7 +690,7 @@ validateArrayFieldsStartingFrom<TField>(
690
690
cause ): Promise < ValidationError []>
691
691
` ` `
692
692
693
- Defined in: [packages/form-core/src/FormApi.ts:710 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L710 )
693
+ Defined in: [packages/form-core/src/FormApi.ts:722 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L722 )
694
694
695
695
Validates the children of a specified array in the form starting from a given index until the end using the correct handlers for a given validation type.
696
696
@@ -726,7 +726,7 @@ validateField<TField>(field, cause):
726
726
| Promise < ValidationError []>
727
727
` ` `
728
728
729
- Defined in: [packages/form-core/src/FormApi.ts:749 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L749 )
729
+ Defined in: [packages/form-core/src/FormApi.ts:761 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L761 )
730
730
731
731
Validates a specified field in the form using the correct handlers for a given validation type.
732
732
0 commit comments