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

Fixed TypeError on providing only a partial subset of form fields in setErrors for useForm #2224

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Verox001
Copy link

@Verox001 Verox001 commented Feb 1, 2025

Fixes #2214 by making the setErrors second signature partial, so not all form fields have to provided at the same time when calling setErrors on multiple form fields.

Error Handling Improvements:

Example Usage and Test Update (can be reverted if not needed):

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.

useForm setError typing seems wrong
1 participant