Fixhancement: dispatch change event from current field prior to save

This commit is contained in:
shamoon 2024-11-27 23:18:08 -08:00
parent a186527f07
commit de2ff61a42
No known key found for this signature in database

View File

@ -721,6 +721,7 @@ export class DocumentDetailComponent
save(close: boolean = false) {
this.networkActive = true
;(document.activeElement as HTMLElement)?.dispatchEvent(new Event('change'))
this.documentsService
.update(this.document)
.pipe(first())