Skip to content

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

@edhgoose

Description

@edhgoose

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions