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 29bcf8fa8..1450be09c 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 @@ -472,6 +472,7 @@ export class DocumentDetailComponent if (titleValue !== this.titleInput.value) return this.title = titleValue this.documentForm.patchValue({ title: titleValue }) + this.documentForm.get('title').markAsDirty() }) this.setupDirtyTracking(useDoc, doc) },