[AAE-12318] Adjustments for HxP Attach-File widget (#8425)

This commit is contained in:
Robert Duda
2023-04-03 13:57:49 +02:00
committed by GitHub
parent ba90131e61
commit 2bd72f71d5
3 changed files with 17 additions and 5 deletions

View File

@@ -33,7 +33,8 @@ import {
FormValues,
FormModel,
ContentLinkModel,
UploadWidgetContentLinkModel
UploadWidgetContentLinkModel,
FormEvent
} from '@alfresco/adf-core';
import { FormCloudService } from '../services/form-cloud.service';
import { TaskVariableCloud } from '../models/task-variable-cloud.model';
@@ -119,6 +120,7 @@ export class FormCloudComponent extends FormBaseComponent implements OnChanges,
if (content instanceof UploadWidgetContentLinkModel) {
this.form.setNodeIdValueForViewersLinkedToUploadWidget(content);
this.onFormDataRefreshed(this.form);
this.formService.formDataRefreshed.next(new FormEvent(this.form));
} else {
this.formContentClicked.emit(content);
}