You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/form-core/src/FormApi.ts
+31-7Lines changed: 31 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -626,6 +626,10 @@ export type DerivedFormState<
626
626
* A boolean indicating if none of the form's fields' values have been modified by the user. Evaluates `true` if the user have not modified any of the fields. Opposite of `isDirty`.
627
627
*/
628
628
isPristine: boolean
629
+
/**
630
+
* A boolean indicating if all of the form's fields are the same as default values.
631
+
*/
632
+
isDefaultValue: boolean
629
633
/**
630
634
* A boolean indicating if the form and all its fields are valid. Evaluates `true` if there are no errors.
631
635
*/
@@ -857,6 +861,7 @@ export class FormApi<
857
861
}),
858
862
)
859
863
864
+
// creates a tanstack store derived record of the fields derivedMeta that lazily updates
0 commit comments