@wavemaker/app-ng-runtime 11.8.0-next.27317 → 11.8.0-next.27318

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