-
-
Notifications
You must be signed in to change notification settings - Fork 504
Open
Labels
Description
Describe the bug
On changing a date field, it seems tanstack is not changing isDefaultValue
to false
, as I would expect.
Your minimal, reproducible example
https://stackblitz.com/edit/vitejs-vite-sobdcz8j?file=src%2FApp.tsx
Steps to reproduce
- Change the date
- Observe equality check is false and
isPristine
isfalse
isDefaultValue
is stilltrue
- Changing the text field however does change
isDefaultValue
tofalse
Expected behavior
Changing a date field should change isDefaultValue
to false
How often does this bug happen?
Every time
Screenshots or Videos

Platform
- macOS 15.5
- chrome/brave
TanStack Form adapter
None
TanStack Form version
1.19.2
TypeScript version
No response
Additional context
No response