LP#1832897: add Angular widget to for selecting multiple linked rows
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / share / multi-select / multi-select.component.html
1 <div>
2   <div class="row">
3     <eg-combobox [idlClass]="idlClass" 
4       [idlIncludeLibraryInLabel]="linkedLibraryLabel" [asyncSupportsEmptyTermClick]="true"
5       (onChange)="valueSelected($event)">
6     </eg-combobox>
7     <button class="btn btn-outline-dark" (click)="addSelectedValue()" [disabled]="!this.selected" i18n>Add</button>
8   </div>
9   <div class="row" *ngFor="let entry of entrylist">
10     <div class="col-lg-4">{{entry.label}}</div>
11     <button class="btn btn-sm btn-warning" (click)="removeValue(entry)" i18n>Remove</button>
12   </div>
13 </div>