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: src/content/ts.mdx
+4-1
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,8 @@ export default function App() {
56
56
57
57
## \</> SubmitHandler {#SubmitHandler}
58
58
59
+
This type defines the shape of the data that is used in the submit handler. By default the type will be the same as the type used for `useForm`{#UseFormReturn}. When form data gets transformed via resolvers, an additional type is used as the third type parameter for `useForm`. This type should also be used for the submit handler so that the correct shape of the transformed form data is used inside the submit handler.
0 commit comments