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 is false
isDefaultValue is still true
- Changing the text field however does change
isDefaultValue to false
Expected behavior
Changing a date field should change isDefaultValue to false
How often does this bug happen?
Every time
Screenshots or Videos
Platform
TanStack Form adapter
None
TanStack Form version
1.19.2
TypeScript version
No response
Additional context
No response
Describe the bug
On changing a date field, it seems tanstack is not changing
isDefaultValuetofalse, as I would expect.Your minimal, reproducible example
https://stackblitz.com/edit/vitejs-vite-sobdcz8j?file=src%2FApp.tsx
Steps to reproduce
isPristineisfalseisDefaultValueis stilltrueisDefaultValuetofalseExpected behavior
Changing a date field should change
isDefaultValuetofalseHow often does this bug happen?
Every time
Screenshots or Videos
Platform
TanStack Form adapter
None
TanStack Form version
1.19.2
TypeScript version
No response
Additional context
No response