]>
Commit | Line | Data |
---|---|---|
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 | |
11 | class="avatar mr-1" | |
12 | [src]="channel.avatarPath" | |
13 | /> | |
14 | {{ channel.label }} | |
15 | </ng-option> | |
16 | </ng-select> |