react-hook-form/documentation

The `RegisterOptions` type does not match the documentation

RedHatter opened this issue · 0 comments

Version Number

7.49.3

Codesandbox/Expo snack

sandbox link

Steps to reproduce

The documentation for the register function lists ref as an available option however there is no such property on the RegisterOptions type.

Expected behaviour

The documentation and the RegisterOptions type to agree on the valid options for the register function.

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct