Skip to content

Clarify when formState.isValid updates in onBlur mode - #1247

Merged
bluebill1049 merged 1 commit into
react-hook-form:masterfrom
Doomguy-BFG9000:docs/isvalid-onblur
Nov 7, 2026
Merged

bluebill1049 merged 1 commit into
react-hook-form:masterfrom
Doomguy-BFG9000:docs/isvalid-onblur

Conversation

@Doomguy-BFG9000

Copy link
Copy Markdown
Contributor

Fixes #1245.

The formState.isValid entry now explains when subscribed validity is evaluated in onBlur mode. It is evaluated on mount, and before submission typing leaves it unchanged until the field blurs.

Verification

  • Mounted a React Hook Form 7.91.0 form on Windows with React DOM and jsdom. Verified mount, typing, and blur, with an onChange control. The site-pinned 8.0.0-beta.4 showed the same behavior.
  • Ran pnpm run format and pnpm run build on Windows with pnpm 9.15.0. Checked the compiled MDX and the isValid row in the generated HTML.

@vercel

vercel Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Someone is attempting to deploy a commit to the BEEKAI OSS Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for sage-cassata-31d224 ready!

Name Link
🔨 Latest commit 9ba2898
🔍 Latest deploy log https://app.netlify.com/projects/sage-cassata-31d224/deploys/6aef1f2519e47f9aae170b28
😎 Deploy Preview https://deploy-preview-1247--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.

@bluebill1049
bluebill1049 merged commit a3b7ab2 into react-hook-form:master Nov 7, 2026
4 of 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.

isValid docs say it's validated on each change regardless of mode, but onBlur mode only re-validates on blur

2 participants