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

onMount Error is not revalidated when the user changes the input #689

Open
MAST1999 opened this issue Apr 26, 2024 · 2 comments
Open

onMount Error is not revalidated when the user changes the input #689

MAST1999 opened this issue Apr 26, 2024 · 2 comments
Labels

Comments

@MAST1999
Copy link
Contributor

Describe the bug

If you have an onMount that returns an error on the first render, changing the value after that does not remove the error.

Your minimal, reproducible example

https://stackblitz.com/edit/vitejs-vite-yjklcs?file=src%2FApp.tsx

Steps to reproduce

Open the reproduction and see that the onMount returns error, but after changing the value the error still remains.

Expected behavior

The onMount error should be revalidated (removed) after user changes the value.

How often does this bug happen?

Every time

Screenshots or Videos

No response

Platform

OS: Linux
Browser: Chrome
Version: 124.0.63

TanStack Form adapter

None

TanStack Form version

^0.19.4

TypeScript version

^5.4.5

Additional context

No response

@crutchcorn crutchcorn added the bug label Apr 29, 2024
@tobysmith568
Copy link

Hey @crutchcorn, is there a public timeline/kanban board/etc. somewhere where we can gauge an estimate for how long it will be until this might be worked on? I ask because I can see it's not assigned to anyone to fix in the meantime.

@crutchcorn
Copy link
Member

This is the public timeline/board :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants