Skip to content

issue: Documentation for validatingFields says it's a boolean, but it's an object #1138

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

Open
1 task done
edhgoose opened this issue Apr 25, 2025 · 0 comments
Open
1 task done

Comments

@edhgoose
Copy link

Version Number

latest

Codesandbox/Expo snack

N/A - https://react-hook-form.com/docs/useformstate

Steps to reproduce

  1. Go to https://react-hook-form.com/docs/useformstate
  2. Scroll down to validatingFields
  3. Observe the documentation says "boolean"

The formState.validatingFields is not a boolean, it's an object:

Image

Expected behaviour

The documentation for validatingFields should state the field is an object, with each field name having a boolean value.

e.g. for field X, validatingFields.X would be true or undefined.

What browsers are you seeing the problem on?

No response

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct
@bluebill1049 bluebill1049 transferred this issue from react-hook-form/react-hook-form Apr 25, 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

No branches or pull requests

1 participant