From 77dd486269bb11f1e206114b87033a7dcc58c012 Mon Sep 17 00:00:00 2001 From: Alexey Sandler Date: Thu, 5 Dec 2019 17:04:45 +0200 Subject: Changing VNF platform to multiselect + cypress + API Issue-ID: VID-724 Signed-off-by: Yoav Schneiderman Change-Id: Ie8c720974da3419e26ce7e8675622f75780581b9 Signed-off-by: Yoav Schneiderman --- .../app/shared/models/formControlModels/multiselectFormControl.model.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vid-webpack-master/src/app/shared/models') diff --git a/vid-webpack-master/src/app/shared/models/formControlModels/multiselectFormControl.model.ts b/vid-webpack-master/src/app/shared/models/formControlModels/multiselectFormControl.model.ts index 09fc1d250..f5db715ba 100644 --- a/vid-webpack-master/src/app/shared/models/formControlModels/multiselectFormControl.model.ts +++ b/vid-webpack-master/src/app/shared/models/formControlModels/multiselectFormControl.model.ts @@ -14,6 +14,7 @@ export class MultiselectFormControl extends FormControlModel{ settings: {}; onInitSelectedField?: string[]; convertOriginalDataToArray? : (values)=> void; + limitSelection?: number; constructor(data) { @@ -28,6 +29,7 @@ export class MultiselectFormControl extends FormControlModel{ this.settings = data.settings || {}; this.onInitSelectedField = data.onInitSelectedField ? data.onInitSelectedField : null; this.convertOriginalDataToArray = data.convertOriginalDataToArray ? data.convertOriginalDataToArray : null + this.limitSelection = data.limitSelection ? data.limitSelection : 1000; } } -- cgit 1.2.3-korg