mmhglobal-dynamicform 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/esm2020/lib/zudf/zudf.component.mjs +10 -4
- package/fesm2015/mmhglobal-dynamicform.mjs +9 -3
- package/fesm2015/mmhglobal-dynamicform.mjs.map +1 -1
- package/fesm2020/mmhglobal-dynamicform.mjs +9 -3
- package/fesm2020/mmhglobal-dynamicform.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11778,9 +11778,15 @@ class ZudfComponent extends ContainerFieldBase {
|
|
|
11778
11778
|
// Manually patch the component form control value
|
|
11779
11779
|
const zudfForm = zudfGroup.form;
|
|
11780
11780
|
const componentFormControl = zudfForm.controls[item.value];
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11781
|
+
if (componentFormControl) {
|
|
11782
|
+
childComponent.setSelectOption(filteredSelectionOptions);
|
|
11783
|
+
componentFormControl.patchValue(zudfGroup.zModel[item.value]);
|
|
11784
|
+
this.cdr.detectChanges();
|
|
11785
|
+
}
|
|
11786
|
+
else {
|
|
11787
|
+
console.log('Unable to get formcontrol for ' + item.value);
|
|
11788
|
+
console.log(zudfForm);
|
|
11789
|
+
}
|
|
11784
11790
|
}
|
|
11785
11791
|
});
|
|
11786
11792
|
}
|