mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
Fix: ensure title gets marked as dirty
This commit is contained in:
parent
117dfb83fe
commit
a77141e133
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue