isDirty returning true on empty create (useActionForm)
I've just created a new page to create a new record, upon page load I display the Shopify save bar, and the save button should be disabled until the user has actually made a change to the form. So I use
isDirty
isDirty
, but for some reason its coming back
true
true
before I've even interacted.
The only way I've found to resolve this is to pass
defaultValues
defaultValues
with all empty values. But according to the docs, its only when using
findBy
findBy
option which means we shouldn't be using it?
Although it does work and lets me pass it, but the real question here is, why is