Skip to content

issue: onBlur validation mode doesn't work in version 7.50.1 and in the latest version #12580

@lukasrzavsky

Description

@lukasrzavsky

Version Number

7.50.1 and the latest one

Codesandbox/Expo snack

https://snack.expo.dev/@lukasrzavsky/react-hook-form-onblur-issue

Steps to reproduce

  1. Enter some value to first field
  2. Enter some value to second field but do not lose focus
  3. You can see that the submit button is enabled, but it should be enabled only in case you lose focus of the second field

Expected behaviour

The form shouldn't change isValid value on every change. It should change the value only in case all fields are valid and user lose focus of the last input with validation.

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

Labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions