Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add SubmitErrorHandler type to ts.mdx #1117

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aken-you
Copy link

@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?

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
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.

1 participant