Fixhancement: dispatch change event from current field prior to save (#8369)

This commit is contained in:
shamoon 2024-11-27 23:25:52 -08:00 committed by GitHub
parent 455c54791c
commit e81b1ee450

View File

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