Fixed an issue occurred while removing an item from a qualdrop group

This commit is contained in:
Giuseppe
2018-08-31 17:51:44 +02:00
parent ffeee8f1a1
commit 820e3909ca
2 changed files with 60 additions and 26 deletions

View File

@@ -223,7 +223,7 @@ export class FormSectionComponent extends SectionModelComponent implements OnDes
const path = this.formBuilderService.getPath(event.model);
if (this.formBuilderService.hasMappedGroupValue(event.model)) {
this.previousValue.path = path;
this.previousValue.value = this.formOperationsService.getComboboxMap(event);
this.previousValue.value = this.formOperationsService.getQualdropValueMap(event);
} else if (isNotEmpty(value) && ((typeof value === 'object' && isNotEmpty(value.value)) || (typeof value === 'string'))) {
this.previousValue.path = path;
this.previousValue.value = value;