|
|
|
@ -32,8 +32,9 @@ |
|
|
|
|
(open)="openCloseMenu(currentValue)" |
|
|
|
|
(close)="select.filterValue = currentValue" |
|
|
|
|
(change)="onChange($event)" |
|
|
|
|
(clear)="clearSearch()" |
|
|
|
|
(keydown.enter)="onEnterBeforeResultsLoaded()"> |
|
|
|
|
(keydown.enter)="onEnterBeforeResultsLoaded()" |
|
|
|
|
(keydown.escape)="blur()" |
|
|
|
|
(clear)="clearSearch()"> |
|
|
|
|
<ng-template ng-option-tmp let-item="item" let-index="index" let-search="searchTerm"> |
|
|
|
|
<div *ngIf="!item.id; else workPackageItemTemplate"> |
|
|
|
|
<div tabindex="-1" class="global-search--option"> |
|
|
|
|