]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-forms/select/select-options.component.html
fix video download modal select width
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / select / select-options.component.html
1 <ng-select
2 [items]="items"
3 [groupBy]="groupBy"
4 [(ngModel)]="selectedId"
5 (ngModelChange)="onModelChange()"
6 [clearable]="clearable"
7 [labelForId]="labelForId"
8 [searchable]="searchable"
9
10 bindLabel="label"
11 bindValue="id"
12 >
13 <ng-template ng-option-tmp let-item="item" let-index="index">
14 {{ item.label }}
15 <ng-container *ngIf="item.description">
16 <br>
17 <span [title]="item.description" class="text-muted">{{ item.description }}</span>
18 </ng-container>
19 </ng-template>
20 </ng-select>