aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/logic/select-directives/select-directives.component.html
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2022-01-23 12:40:06 +0000
committerMichael Morris <michael.morris@est.tech>2022-03-02 11:44:48 +0000
commitc4a8271d664deb39e69fbba329b11ff57b9b276b (patch)
tree3f070217dd738d0d0ab4231ff1bd06b903e7cb19 /catalog-ui/src/app/ng2/components/logic/select-directives/select-directives.component.html
parent7f07f514eacacfb54d851201c49b24acd9b5e343 (diff)
Support for multiple directives
Issue-ID: SDC-3861 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ie63c4879c28567b2d87e5fb08975b46014cf3660
Diffstat (limited to 'catalog-ui/src/app/ng2/components/logic/select-directives/select-directives.component.html')
-rw-r--r--catalog-ui/src/app/ng2/components/logic/select-directives/select-directives.component.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/components/logic/select-directives/select-directives.component.html b/catalog-ui/src/app/ng2/components/logic/select-directives/select-directives.component.html
new file mode 100644
index 0000000000..4a831caa3d
--- /dev/null
+++ b/catalog-ui/src/app/ng2/components/logic/select-directives/select-directives.component.html
@@ -0,0 +1,15 @@
+<div class="select-directives">
+ <loader [display]="isLoading" [size]="'medium'" [relative]="true"></loader>
+ <div *ngIf="!isDependent" class="multi-select-dropdown-box">
+ <ng-select
+ name="multiSelect"
+ id="multiSelect"
+ [multiple]="true"
+ [items]="directiveOptions"
+ [(ngModel)]="selectedDirectiveOptions"
+ placeholder="Select Directives...">
+ </ng-select>
+ <button id="multi-select-apply" class="apply-btn" (click)="onAddDirectives()">{{'Apply'}}</button>
+ <button id="multi-select-cancel" class="clr-btn" (click)="onClearDirectives()">{{'Clear'}}</button>
+ </div>
+</div> \ No newline at end of file