@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.
- package/esm2020/lib/test-case-details/loop-step/loop-step.component.mjs +10 -1
- package/fesm2015/cqa-lib-cqa-ui.mjs +9 -0
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +9 -0
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/styles.css +1 -1
|
@@ -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) {
|