]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/shared-forms/select/select-channel.component.html
Migrate to bootstrap 5
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / select / select-channel.component.html
1 <ng-select
2 [(ngModel)]="selectedId"
3 (ngModelChange)="onModelChange()"
4 [bindLabel]="bindLabel"
5 [bindValue]="bindValue"
6 [clearable]="clearable"
7 [searchable]="searchable"
8 >
9 <ng-option *ngFor="let channel of channels" [value]="channel.id">
10 <img alt="" class="avatar me-1" [src]="channel.avatarPath" />
11 {{ channel.label }}
12 </ng-option>
13 </ng-select>