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

form.errors alway undefined #857

Open
braginteractive opened this issue Sep 23, 2024 · 3 comments
Open

form.errors alway undefined #857

braginteractive opened this issue Sep 23, 2024 · 3 comments

Comments

@braginteractive
Copy link
Contributor

I might be missing something here, but when using <ErrorList errors={form.errors} id={form.errorId} /> form.errors is always undefined even when the form has errors.

If you log form.allErrors you get an object of all the form errors though.

@kentcdodds
Copy link
Member

Thanks for the issue! I'd be happy to accept a PR for this.

@AyendiSimeon1
Copy link

@kentcdodds I would love to fix this issue. Can I go on?

@kentcdodds
Copy link
Member

Sure!

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