Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

How to create autocomplete in header?

$
0
0

@rashidi wrote:

I want to create a autocomplete with ion-search.
I use a ion-search and ion-list for show suggestions in autocomplete.
but use in ion-header not show ion-list.
in following autocomplete code:

<ion-searchbar [(ngModel)]="searchModel" (keyup)="keyup($event)" [debounce]="250"
          (change)="change()"  placeholder="{{ 'SEARCH' | translate }}" (ionClear)="clear()"
          autocorrect="off"></ion-searchbar>undefined> <ion-list style="position:absolute;z-index:999999">
<button ion-item (click)="select(item)" *ngFor="let item of matches">
	{{item[autoCompleteTitle]}}
</button>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>