mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-3286] User gets error when removing the attached file (#5735)
This commit is contained in:
@@ -151,7 +151,7 @@ export class UploadCloudWidgetComponent extends WidgetComponent implements OnIni
|
||||
if (values && values.length > 0) {
|
||||
this.field.value = values;
|
||||
this.field.form.values[this.field.id] = values;
|
||||
this.hasFile = this.field.form.values[this.field.id].length > 0;
|
||||
this.hasFile = true;
|
||||
} else {
|
||||
this.field.value = [];
|
||||
this.field.form.values[this.field.id] = [];
|
||||
|
Reference in New Issue
Block a user