Skip to content

RegisterOptions does not accept ref - #1226

Merged
bluebill1049 merged 1 commit into
react-hook-form:masterfrom
singingwolfboy:register-options-no-ref
Aug 5, 2026
Merged

RegisterOptions does not accept ref#1226
bluebill1049 merged 1 commit into
react-hook-form:masterfrom
singingwolfboy:register-options-no-ref

Conversation

@singingwolfboy

Copy link
Copy Markdown
Contributor

The documentation mentions that you can pass a ref option to the register() function, but that does not appear to be true, based on the Typescript types. Upon further investigation, it appears that this used to be possible in v6, but this was changed in v7. (See this GitHub issue.)

This pull request updates the documentation to remove this misleading information.

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

@singingwolfboy 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 Aug 5, 2026

Copy link
Copy Markdown

Deploy Preview for sage-cassata-31d224 ready!

Name Link
🔨 Latest commit 9c14972
🔍 Latest deploy log https://app.netlify.com/projects/sage-cassata-31d224/deploys/6a72f38451aeff0008221a71
😎 Deploy Preview https://deploy-preview-1226--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 e15b01e into react-hook-form:master Aug 5, 2026
7 of 8 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