@wavemaker/app-ng-runtime 11.7.2-next.26366 → 11.7.2-next.26367
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.
|
@@ -816,7 +816,7 @@ class FormComponent extends StylableComponent {
|
|
|
816
816
|
fd[fieldName] = fieldValue;
|
|
817
817
|
_.set(formData, field.form.formGroupName, fd);
|
|
818
818
|
}
|
|
819
|
-
else if (field.form.isParentList) {
|
|
819
|
+
else if (this.parentForm && this.parentForm.ngform && field.form.isParentList) { // Fix for [WMS-25806]: use formArrayIndex only if form has a parent form
|
|
820
820
|
// setting formdata based on formArrayIndex
|
|
821
821
|
const fd = _.get(formData, field.form.parentList.name, []);
|
|
822
822
|
fd[field.form.formArrayIndex] = fd[field.form.formArrayIndex] || {};
|