Skip to content

fix: correct typo issue for link formstate and formState type example #1162

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

Conversation

candymask0712
Copy link
Contributor

@candymask0712 candymask0712 commented Jul 17, 2025

Hello Bill 😁
I found a broken link in the official documentation and fixed it.

Copy link

vercel bot commented Jul 17, 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 Jul 18, 2025 10:21am

Copy link

netlify bot commented Jul 17, 2025

Deploy Preview for sage-cassata-31d224 ready!

Name Link
🔨 Latest commit 5239ed2
🔍 Latest deploy log https://app.netlify.com/projects/sage-cassata-31d224/deploys/687a1ff166df6900088bc0ac
😎 Deploy Preview https://deploy-preview-1162--sage-cassata-31d224.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@candymask0712 candymask0712 changed the title fix: typo issue for link formstate fix: correct typo issue for link formstate and formState type example Jul 17, 2025
Copy link
Member

@bluebill1049 bluebill1049 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the update.

Comment on lines 104 to 105
<input {...(register("firstName"), { required: true })} />
<input {...(register("lastName"), { minLength: 2 })} />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks not correct.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn’t realize the pnpm run format --write would make changes like this. This part has been excluded.

 without
'src/content/ts.mdx' file
@bluebill1049 bluebill1049 merged commit eb75a10 into react-hook-form:master Jul 18, 2025
6 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.

isSubmitted is not defined
2 participants