diff --git a/src-ui/src/app/components/document-detail/document-detail.component.ts b/src-ui/src/app/components/document-detail/document-detail.component.ts index a62c98d6a..bda0967a0 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.ts +++ b/src-ui/src/app/components/document-detail/document-detail.component.ts @@ -783,6 +783,7 @@ export class DocumentDetailComponent this.title = doc.title this.updateFormForCustomFields() this.documentForm.patchValue(doc) + this.documentForm.markAsPristine() this.openDocumentService.setDirty(doc, false) }, error: () => {