]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-forms/select/select-options.component.html
Bumped to version v5.2.1
[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 [searchFn]="searchFn"
10 [disabled]="disabled"
11
12 bindLabel="label"
13 bindValue="id"
14 >
15 <ng-template ng-option-tmp let-item="item" let-index="index">
16 {{ item.label }}
17 <ng-container *ngIf="item.description">
18 <br>
19 <span [title]="item.description" class="muted">{{ item.description }}</span>
20 </ng-container>
21 </ng-template>
22 </ng-select>