@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.
|
@@ -825,7 +825,7 @@
|
|
|
825
825
|
fd[fieldName] = fieldValue;
|
|
826
826
|
_.set(formData, field.form.formGroupName, fd);
|
|
827
827
|
}
|
|
828
|
-
else if (field.form.isParentList) {
|
|
828
|
+
else if (this.parentForm && this.parentForm.ngform && field.form.isParentList) { // Fix for [WMS-25806]: use formArrayIndex only if form has a parent form
|
|
829
829
|
// setting formdata based on formArrayIndex
|
|
830
830
|
const fd = _.get(formData, field.form.parentList.name, []);
|
|
831
831
|
fd[field.form.formArrayIndex] = fd[field.form.formArrayIndex] || {};
|