]>
Commit | Line | Data |
---|---|---|
ead64cdf C |
1 | <div class="root"> |
2 | <my-select-options | |
3 | [items]="itemsWithCustom" | |
4 | [clearable]="clearable" | |
5 | [searchable]="searchable" | |
6 | [groupBy]="groupBy" | |
7 | [labelForId]="labelForId" | |
8 | ||
9 | [(ngModel)]="selectedId" | |
10 | (ngModelChange)="onModelChange()" | |
11 | ></my-select-options> | |
12 | ||
13 | <input *ngIf="isCustomValue()" [(ngModel)]="customValue" (ngModelChange)="onModelChange()" type="text" class="form-control" /> | |
14 | </div> |