@@ -121,7 +121,7 @@ deleteField<TField>(field): void
121121
122122#### Defined in
123123
124- [packages/form-core/src/FormApi.ts:1102 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1102 )
124+ [packages/form-core/src/FormApi.ts:1117 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1117 )
125125
126126***
127127
@@ -147,7 +147,7 @@ Gets the field info of the specified field.
147147
148148#### Defined in
149149
150- [packages/form-core/src/FormApi.ts:1013 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1013 )
150+ [packages/form-core/src/FormApi.ts:1028 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1028 )
151151
152152***
153153
@@ -173,7 +173,7 @@ Gets the metadata of the specified field.
173173
174174#### Defined in
175175
176- [packages/form-core/src/FormApi.ts:1004 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1004 )
176+ [packages/form-core/src/FormApi.ts:1019 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1019 )
177177
178178***
179179
@@ -199,7 +199,7 @@ Gets the value of the specified field.
199199
200200#### Defined in
201201
202- [packages/form-core/src/FormApi.ts:997 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L997 )
202+ [packages/form-core/src/FormApi.ts:1012 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1012 )
203203
204204***
205205
@@ -217,7 +217,7 @@ Handles the form submission, performs validation, and calls the appropriate onSu
217217
218218#### Defined in
219219
220- [packages/form-core/src/FormApi.ts:937 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L937 )
220+ [packages/form-core/src/FormApi.ts:952 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L952 )
221221
222222***
223223
@@ -253,7 +253,7 @@ Inserts a value into an array field at the specified index, shifting the subsequ
253253
254254#### Defined in
255255
256- [packages/form-core/src/FormApi.ts:1134 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1134 )
256+ [packages/form-core/src/FormApi.ts:1149 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1149 )
257257
258258***
259259
@@ -305,7 +305,7 @@ Moves the value at the first specified index to the second specified index withi
305305
306306#### Defined in
307307
308- [packages/form-core/src/FormApi.ts:1252 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1252 )
308+ [packages/form-core/src/FormApi.ts:1267 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1267 )
309309
310310***
311311
@@ -338,7 +338,7 @@ Pushes a value into an array field.
338338
339339#### Defined in
340340
341- [packages/form-core/src/FormApi.ts:1116 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1116 )
341+ [packages/form-core/src/FormApi.ts:1131 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1131 )
342342
343343***
344344
@@ -371,7 +371,7 @@ Removes a value from an array field at the specified index.
371371
372372#### Defined in
373373
374- [packages/form-core/src/FormApi.ts:1187 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1187 )
374+ [packages/form-core/src/FormApi.ts:1202 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1202 )
375375
376376***
377377
@@ -407,25 +407,38 @@ Replaces a value into an array field at the specified index.
407407
408408#### Defined in
409409
410- [packages/form-core/src/FormApi.ts:1161 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1161 )
410+ [packages/form-core/src/FormApi.ts:1176 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1176 )
411411
412412***
413413
414414### reset()
415415
416416` ` ` ts
417- reset (): void
417+ reset (values ? , opts ? ): void
418418` ` `
419419
420420Resets the form state to the default values.
421+ If values are provided, the form will be reset to those values instead and the default values will be updated.
422+
423+ #### Parameters
424+
425+ • **values?**: ` TFormData `
426+
427+ Optional values to reset the form to.
428+
429+ • **opts?**
430+
431+ Optional options to control the reset behavior.
432+
433+ • **opts.keepDefaultValues?**: ` boolean `
421434
422435#### Returns
423436
424437` void `
425438
426439#### Defined in
427440
428- [packages/form-core/src/FormApi.ts:576 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L576 )
441+ [packages/form-core/src/FormApi.ts:580 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L580 )
429442
430443***
431444
@@ -449,7 +462,7 @@ resetFieldMeta<TField>(fieldMeta): Record<TField, FieldMeta>
449462
450463#### Defined in
451464
452- [packages/form-core/src/FormApi.ts:1047 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1047 )
465+ [packages/form-core/src/FormApi.ts:1062 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1062 )
453466
454467***
455468
@@ -471,7 +484,7 @@ Updates the form's errorMap
471484
472485#### Defined in
473486
474- [packages/form-core/src/FormApi.ts:1276 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1276 )
487+ [packages/form-core/src/FormApi.ts:1291 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1291 )
475488
476489***
477490
@@ -499,7 +512,7 @@ Updates the metadata of the specified field.
499512
500513#### Defined in
501514
502- [packages/form-core/src/FormApi.ts:1032 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1032 )
515+ [packages/form-core/src/FormApi.ts:1047 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1047 )
503516
504517***
505518
@@ -532,7 +545,7 @@ Sets the value of the specified field and optionally updates the touched state.
532545
533546#### Defined in
534547
535- [packages/form-core/src/FormApi.ts:1071 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1071 )
548+ [packages/form-core/src/FormApi.ts:1086 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1086 )
536549
537550***
538551
@@ -568,7 +581,7 @@ Swaps the values at the specified indices within an array field.
568581
569582#### Defined in
570583
571- [packages/form-core/src/FormApi.ts:1226 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1226 )
584+ [packages/form-core/src/FormApi.ts:1241 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L1241 )
572585
573586***
574587
@@ -612,7 +625,7 @@ Validates all fields in the form using the correct handlers for a given validati
612625
613626#### Defined in
614627
615- [packages/form-core/src/FormApi.ts:591 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L591 )
628+ [packages/form-core/src/FormApi.ts:606 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L606 )
616629
617630***
618631
@@ -645,7 +658,7 @@ Validates the children of a specified array in the form starting from a given in
645658
646659#### Defined in
647660
648- [packages/form-core/src/FormApi.ts:625 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L625 )
661+ [packages/form-core/src/FormApi.ts:640 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L640 )
649662
650663***
651664
@@ -673,4 +686,4 @@ Validates a specified field in the form using the correct handlers for a given v
673686
674687#### Defined in
675688
676- [packages/form-core/src/FormApi.ts:664 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L664 )
689+ [packages/form-core/src/FormApi.ts:679 ](https://github.com/TanStack/form/blob/main/packages/form-core/src/FormApi.ts#L679 )
0 commit comments