Skip to content

Debounce in useForm trigger validation after resetFields #7090

@Djaangoo

Description

@Djaangoo
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

undefined

Environment

Chrome

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Go to link

first form is without debounce option
second has declarated debounce

add test into form fields and click reset in both forms

What is expected?

After click reset with declarated debounce
values of fields shoud be reset without error trigger

What is actually happening?

After click reset with declarated debounce
validation of fields is trigger so we get errors

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions