Skip to content
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

Reset form validation #627

Open
dickyindra opened this issue Oct 27, 2023 · 1 comment
Open

Reset form validation #627

dickyindra opened this issue Oct 27, 2023 · 1 comment

Comments

@dickyindra
Copy link

I'm using form.resetFields() but the previous validation still remains.
How can I reset it?

@elsiniestra
Copy link

elsiniestra commented Oct 30, 2023

Faced the same issue. I have a set of controlled filters for my list component which I want to reset on the button click and send a new request. resetFields only erases the state of UI, .submit() does not fire a new request

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

2 participants