1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

Merge pull request #248 from tibrisch/search-autocomplete-on-click

Search autocomplete suggestion on click
This commit is contained in:
Patrik J. Braun 2021-04-02 23:42:01 +02:00 committed by GitHub
commit 6755ed7ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@
<div class="autocomplete-item"
[ngClass]="{'autocomplete-item-selected':highlightedAutoCompleteItem == i}"
(mouseover)="setMouseOverAutoCompleteItem(i)"
(click)="applyAutoComplete(item)"
(click)="searchAutoComplete(item)"
*ngFor="let item of autoCompleteRenders; let i = index">
<div>
<span [ngSwitch]="item.type">