kwikid-forms 0.3.8 → 0.3.9

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.
@@ -5248,7 +5248,7 @@ class KwikIDFormViewComponent {
5248
5248
  this.setFormFieldGroupsFromFormConfig(formConfig);
5249
5249
  this.setFormDataFromAllFormsData();
5250
5250
  /**
5251
- * PRE Tasks
5251
+ * PRE Form Tasks
5252
5252
  * 1. API Calls.
5253
5253
  * 2. Alter Data Structure.
5254
5254
  * 3. Alter Form Config.
@@ -5757,7 +5757,7 @@ class KwikIDFormViewComponent {
5757
5757
  }, 10);
5758
5758
  });
5759
5759
  if (this.stopTaskExecution) {
5760
- break;
5760
+ return;
5761
5761
  }
5762
5762
  }
5763
5763
  if (this.stopTaskExecution) {
@@ -5765,13 +5765,13 @@ class KwikIDFormViewComponent {
5765
5765
  }
5766
5766
  this.onClickSaveForm.emit({
5767
5767
  formConfig: this.formConfig,
5768
- data: mergeObjects(formData, this.popupFormData, this.tasksData)
5768
+ data: mergeObjects(this.allFormsData[this.formConfig.key], formData, this.popupFormData, this.tasksData)
5769
5769
  });
5770
5770
  }
5771
5771
  else {
5772
5772
  this.onClickSaveForm.emit({
5773
5773
  formConfig: this.formConfig,
5774
- data: formData
5774
+ data: mergeObjects(this.allFormsData[this.formConfig.key], formData, this.popupFormData, this.tasksData)
5775
5775
  });
5776
5776
  }
5777
5777
  });