You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The UploadField works fine except if an image exists, the form is always marked as dirty, even when nothing has changed. It means navigating away from the edit page always triggers an "Are you sure?" prompt.
Seems to be an issue with the getSchemaStateDefaults data passed to React, the react code assumes it is dirty and marks the form with the "changed" class.
The text was updated successfully, but these errors were encountered:
GuySartorelli
changed the title
UploadField with image always triggers "save" prompt
STATE: UploadField with image always triggers "save" prompt
Feb 22, 2023
The UploadField works fine except if an image exists, the form is always marked as dirty, even when nothing has changed. It means navigating away from the edit page always triggers an "Are you sure?" prompt.
Seems to be an issue with the getSchemaStateDefaults data passed to React, the react code assumes it is dirty and marks the form with the "changed" class.
The text was updated successfully, but these errors were encountered: