Skip to content

Commit

Permalink
fix(file-input): reset lastSyncedValue
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Sep 27, 2022
1 parent 976b690 commit 881e465
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/data-workspace/inputs/file-inputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ export const FileResourceInput = ({
input.onBlur()
deleteFile(null, {
onSuccess: () => {
form.mutators.setFieldData(fieldname, null)
form.mutators.setFieldData(fieldname, {
lastSyncedValue: null,
})
},
})
}
Expand Down

0 comments on commit 881e465

Please sign in to comment.