Question regarding meta.isPristine
React Final Form has the
modified
property (https://final-form.org/docs/react-final-form/types/FieldRenderProps#metamodified) which is basically like a Tamper Sticker, and is useful for Saving Indicators on autosaving forms (since it lets me handle the case where the user changes a field, autosave kicks in, the indicator shows it's been saved, and the user changes their mind and puts the field back to the initial value... RFF uses equality to determine the pristine state, as well as the dirty state).
My question is: is there any way to cover this case in Tanstack Form?2 Replies
conscious-sapphire•13mo ago
Have you checked this?
https://tanstack.com/form/latest/docs/framework/react/guides/basic-concepts#field-state
like-goldOP•13mo ago
isDirty
because I didn't think it would apply to me given that React Hook Form !== React Final Form