@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
|
@@ -24674,6 +24674,15 @@ class TestCaseLoopStepComponent {
|
|
|
24674
24674
|
if (this.templateVariablesForm && this.editSnapshot.conditionTemplateFormValue) {
|
|
24675
24675
|
this.templateVariablesForm.patchValue(this.editSnapshot.conditionTemplateFormValue);
|
|
24676
24676
|
}
|
|
24677
|
+
// Reset form controls so that getTestDataProfileFormValue / getLoopStartFormValue / getLoopEndFormValue
|
|
24678
|
+
// fall through to config on the next edit instead of returning the stale changed values.
|
|
24679
|
+
if (this.editForm) {
|
|
24680
|
+
this.editForm.patchValue({
|
|
24681
|
+
testDataProfile: null,
|
|
24682
|
+
startStep: null,
|
|
24683
|
+
endStep: null,
|
|
24684
|
+
}, { emitEvent: false });
|
|
24685
|
+
}
|
|
24677
24686
|
this.isEditing = false;
|
|
24678
24687
|
}
|
|
24679
24688
|
onEditInDepth(templateOverride) {
|