mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-01 01:46:16 +00:00
Fix: ensure title gets marked as dirty
This commit is contained in:
@@ -472,6 +472,7 @@ export class DocumentDetailComponent
|
|||||||
if (titleValue !== this.titleInput.value) return
|
if (titleValue !== this.titleInput.value) return
|
||||||
this.title = titleValue
|
this.title = titleValue
|
||||||
this.documentForm.patchValue({ title: titleValue })
|
this.documentForm.patchValue({ title: titleValue })
|
||||||
|
this.documentForm.get('title').markAsDirty()
|
||||||
})
|
})
|
||||||
this.setupDirtyTracking(useDoc, doc)
|
this.setupDirtyTracking(useDoc, doc)
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user