From 1e1f9fc4094acf3c829d80d8ef4425d3638311d4 Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Thu, 30 Mar 2023 20:32:37 +0300 Subject: [PATCH] RED-6453 - Value for attribute in file list cannot be set --- .../table-item/file-attribute/file-attribute.component.ts | 2 +- libs/common-ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/red-ui/src/app/modules/dossier-overview/components/table-item/file-attribute/file-attribute.component.ts b/apps/red-ui/src/app/modules/dossier-overview/components/table-item/file-attribute/file-attribute.component.ts index 863ee9353..d867df3cb 100644 --- a/apps/red-ui/src/app/modules/dossier-overview/components/table-item/file-attribute/file-attribute.component.ts +++ b/apps/red-ui/src/app/modules/dossier-overview/components/table-item/file-attribute/file-attribute.component.ts @@ -78,7 +78,7 @@ export class FileAttributeComponent extends BaseFormComponent implements OnInit, const rawFormValue = this.form.getRawValue(); const fileAttrValue = rawFormValue[this.fileAttribute.id]; const attributeIdToValue = { - ...rawFormValue, + ...this.#getForm().getRawValue(), [this.fileAttribute.id]: this.#formatAttributeValue(fileAttrValue), }; try { diff --git a/libs/common-ui b/libs/common-ui index dbe1e9fae..79b688b21 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit dbe1e9fae14b313dd26ac1e8e0c0a8749f957cde +Subproject commit 79b688b218c4a0cc97a128cf7d4d882aefb5353d