final-form / final-form

🏁 Framework agnostic, high performance, subscription-based form state management

Home Page:https://final-form.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can `runValidation` method be exposed?

tonitrnel opened this issue · comments

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

por favor

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