Ionic list (SOLVED)

I’m building my first Ionic application and I’m looking to implement search bar in my application. Problem is, I’m a total noob and I have only a basic understanding, how can i do when I click the result of the search autocompletes with what I select


in the picture is a little example, so when i click in the result. that is have to appear in the input (autocomplete)

try using angular filter in the list

this is what I have

                  <ion-label floating>Host</ion-label>
                  <ion-input type="text" name ="Host" [(ngModel)]="user.Host" (input)="email($event)"></ion-input>
                      <ion-item *ngFor="let item of _fs.result">
                       {{ item.Name }}

I already managed to solve it

this.user.Host = item.Name