mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4460] Fix for empty value upload widget on a form (#4670)
This commit is contained in:
committed by
Denys Vuika
parent
3291ecaccb
commit
a3487cd3b3
@@ -378,7 +378,7 @@ export class FormFieldModel extends FormWidgetModel {
|
||||
if (this.value && this.value.length > 0) {
|
||||
this.form.values[this.id] = this.value.map((elem) => elem.id).join(',');
|
||||
} else {
|
||||
this.form.values[this.id] = [];
|
||||
this.form.values[this.id] = null;
|
||||
}
|
||||
break;
|
||||
case FormFieldTypes.TYPEAHEAD:
|
||||
|
Reference in New Issue
Block a user