aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-12-17 14:55:04 +0200
committerIttay Stern <ittay.stern@att.com>2019-12-17 15:07:58 +0200
commit4bfa2df6e5735b0060a88e4661f38b955094d1a1 (patch)
tree64e59bcde258a168ea563a5a4f6ca77888e75093 /vid-webpack-master/src
parent19bfe44c206000e5f71b53c1642f19886be7ad5f (diff)
Templates: Test deployment of a Cypress edited template
Use templates__instance_from_template__set_without_modify1.json in API test, and make sure values comply. Fix multiselect control to keep platform name as-is when field not touched but "set" is set. Issue-ID: VID-724 Issue-ID: VID-722 Change-Id: Ic0e4cc36027c56f900f6d7e0aa2b01da7d0c728f Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-webpack-master/src')
-rw-r--r--vid-webpack-master/src/app/shared/components/formControls/component/multiselect/multiselect.formControl.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-webpack-master/src/app/shared/components/formControls/component/multiselect/multiselect.formControl.component.ts b/vid-webpack-master/src/app/shared/components/formControls/component/multiselect/multiselect.formControl.component.ts
index 26a55e9d2..cf062f0e0 100644
--- a/vid-webpack-master/src/app/shared/components/formControls/component/multiselect/multiselect.formControl.component.ts
+++ b/vid-webpack-master/src/app/shared/components/formControls/component/multiselect/multiselect.formControl.component.ts
@@ -35,7 +35,7 @@ export class MultiselectFormControlComponent implements OnChanges{
this.options = options;
this._multiselectFormControlService.convertSelectedItems(this.data).then((res)=> {
this.selectedItems = res;
- this.form.controls[this.data.controlName].setValue(this.selectedItems);
+ this.data.onChange(this.selectedItems ,this.form);
})
});
}