Skip to content

issue: does not work reValidateMode when updating 7.41.5 to 7.42.0 #9773

@Bookman0001

Description

@Bookman0001

Version Number

7.42.0

Codesandbox/Expo snack

code link

Expected behaviour

RevalidateMode does work as well as v 7.41.5.

Detail Info

I'm using zodResolver, but revalidateMode doesn't work when updating it to v7.42.0.

const { register, handleSubmit, control } = useForm<FormInput>({
    resolver: zodResolver(schema),
    // Now, it can not change "reValidateMode"  behaviour, it depends on "mode" API behaviour,
    reValidateMode: 'onChange',
  })

What browsers are you seeing the problem on?

Safari 16.2

Relevant log output

No log content

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionRegression with code change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions