seperate ng-select into a ng-select lib
This commit is contained in:
-17
@@ -1,17 +0,0 @@
|
||||
<ng-select [items]="data$ |async"
|
||||
[bindLabel]="bindLabel"
|
||||
[bindValue]="bindValue"
|
||||
autofocus
|
||||
[typeahead] = "searchInput$"
|
||||
[trackByFn]="trackFn"
|
||||
(change)="valueChanged($event)">
|
||||
<ng-container *ngIf="hasOptionTemplate">
|
||||
<ng-template ng-option-tmp let-item="item" let-index="index">
|
||||
<ng-container [ngTemplateOutlet]="selectOptionTemplate"
|
||||
[ngTemplateOutletContext]="{
|
||||
$implicit: item,
|
||||
index: index
|
||||
}"></ng-container>
|
||||
</ng-template>
|
||||
</ng-container>
|
||||
</ng-select>
|
||||
|
||||
Reference in New Issue
Block a user