]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: ensure title gets marked as dirty
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sat, 30 Aug 2025 16:09:43 +0000 (09:09 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Sat, 30 Aug 2025 16:09:43 +0000 (09:09 -0700)
src-ui/src/app/components/document-detail/document-detail.component.ts

index 29bcf8fa8937184b984887d536eaf0f012e0c2f1..1450be09c599a0caf91b0e61dfd1627ff20d9986 100644 (file)
@@ -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)
         },