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

Can runValidation method be exposed? #439

Open
tonitrnel opened this issue Oct 30, 2021 · 2 comments
Open

Can runValidation method be exposed? #439

tonitrnel opened this issue Oct 30, 2021 · 2 comments

Comments

@tonitrnel
Copy link

tonitrnel commented Oct 30, 2021

feature request

Can runValidation be exposed? I need it to revalidate a field under certain conditions.

What is the expected behavior?

Expose a method like to triggerValidation: (fields: Array<keyof FormValues>) => void at FormApi

@tonitrnel tonitrnel changed the title Can runValidation be exposed? Can runValidation method be exposed? Oct 30, 2021
@paulhan221
Copy link

por favor

@gertdreyer
Copy link
Collaborator

Exposing this can also solve #414 without adding the extra prop. Willing to accept PRs with tests that demonstrate the conditions

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

3 participants