Form gets reset to old pre-reset default values on re-render
Reproduction: https://stackblitz.com/edit/tanstack-form-eoqappkk?file=src%2Findex.tsx
1. Enter some new values into the form (not dirty -> dirty)
2. Click "Save" (dirty -> not dirty)
3. Click "Rerender" ⚠️ -> form gets reset to old values (but also remains non dirty) ⚠️
foobarbaz
StackBlitz
Form Simple Example (duplicated) - StackBlitz
Run official live example code for Form Simple, created by Tanstack on StackBlitz
1 Reply
continuing-cyan•2w ago
https://discordapp.com/channels/719702312431386674/1100437019857014895/1421028585375797310 related message in #form