@cqa-lib/cqa-ui 1.1.405 → 1.1.406

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.
@@ -24696,6 +24696,15 @@ class TestCaseLoopStepComponent {
24696
24696
  if (this.templateVariablesForm && this.editSnapshot.conditionTemplateFormValue) {
24697
24697
  this.templateVariablesForm.patchValue(this.editSnapshot.conditionTemplateFormValue);
24698
24698
  }
24699
+ // Reset form controls so that getTestDataProfileFormValue / getLoopStartFormValue / getLoopEndFormValue
24700
+ // fall through to config on the next edit instead of returning the stale changed values.
24701
+ if (this.editForm) {
24702
+ this.editForm.patchValue({
24703
+ testDataProfile: null,
24704
+ startStep: null,
24705
+ endStep: null,
24706
+ }, { emitEvent: false });
24707
+ }
24699
24708
  this.isEditing = false;
24700
24709
  }
24701
24710
  onEditInDepth(templateOverride) {