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

Validation is applied on the blur of field before clicking submit. #1434

Open
anjalikalsariya opened this issue Jan 4, 2024 · 3 comments
Open

Comments

@anjalikalsariya
Copy link

Validation working on the blur of fields(input, select) before clicking submit. Can we validate fields when clicking on the submit button instead on blur?

@anjalikalsariya anjalikalsariya changed the title Validation working on blur of fields before clicking submit. Validation is applied on the blur of field before clicking submit. Jan 4, 2024
@rvsia
Copy link
Contributor

rvsia commented Jan 4, 2024

It should be possible to turn off this behavior by setting validateOnBlur, see https://final-form.org/docs/react-final-form/types/FormProps

@anjalikalsariya
Copy link
Author

anjalikalsariya commented Jan 4, 2024

Thank you @rvsia. I'll try it

@anjalikalsariya
Copy link
Author

@rvsia I tried validateOnBlur. But is not working.

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