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

feat(core): validateFields method for FormApi #1152

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lucas-dtrn
Copy link

@lucas-dtrn lucas-dtrn commented Feb 16, 2025

I have added the validateFields() method to the FormApi so you can validate multiple fields at once.

@lucas-dtrn lucas-dtrn marked this pull request as draft February 16, 2025 04:27
@crutchcorn
Copy link
Member

At first glance: "I'm not opposed to this" but then I thought about it longer and I really strongly want to discourage users from using validate and similar APIs manually. Can you provide a usecase (and minimal repro) for what this would do in an application?

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants