Skip to content

Conversation

@aken-you
Copy link
Contributor

@aken-you aken-you commented Jan 21, 2025

  • I added SubmitErrorHandler type to ts.mdx.
  • In the synchronous example of handleSubmit, onError was only set for the JavaScript example, so I added it to the TypeScript example as well.
  • Removed unused variables in the asynchronous example.

I wanted to add a sandbox example for SubmitErrorHandler type, but I was unsure if I could include my personal sandbox link. How can I add a sandbox link?

@vercel
Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-hook-form-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 21, 2025 5:25am

@aken-you aken-you changed the title docs: Add SubmitErrorHandler type to ts.mdx docs: Add SubmitErrorHandler type to ts.mdx Jan 21, 2025
@bluebill1049 bluebill1049 merged commit 60ec869 into react-hook-form:master Feb 1, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants