[CST-3782] Style refinements and qualdrop moves fixed

This commit is contained in:
Alessandro Martelli
2021-02-24 15:34:21 +01:00
parent 8e7fad43b8
commit 975ef7ebd2
5 changed files with 20 additions and 19 deletions

View File

@@ -349,7 +349,8 @@ export class SectionFormOperationsService {
const segmentedPath = this.getFieldPathSegmentedFromChangeEvent(event);
const value = this.getFieldValueFromChangeEvent(event);
// Detect which operation must be dispatched
if (this.formBuilder.isQualdropGroup(event.model.parent as DynamicFormControlModel)) {
if (this.formBuilder.isQualdropGroup(event.model.parent as DynamicFormControlModel)
|| this.formBuilder.isQualdropGroup(event.model as DynamicFormControlModel)) {
// It's a qualdrup model
this.dispatchOperationsFromMap(this.getQualdropValueMap(event), pathCombiner, event, previousValue);
} else if (this.formBuilder.isRelationGroup(event.model)) {