8000 Can `runValidation` method be exposed? · Issue #439 · final-form/final-form · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can runValidation method be exposed? #439

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

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
8000 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
< 2F2C a class="participant-avatar" data-hovercard-type="user" data-hovercard-url="/users/paulhan221/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/paulhan221"> @paulhan221 @gertdreyer @tonitrnel
0