I have a input field where a user can input his address and get auto-suggestions:
<ion-label color="primary" stacked>Adresse:</ion-label>
<ion-input type="text" ng-model="autocomplete.query" ng-change="updateSearch()"></ion-input>
My class has a update method where i want to do something, but unfortunately he doesn't get into it.
updateSearch()
{
console.log('aaa');
if (this.autocomplete.query == '') {
this.autocompleteItems = [];
return;
}
}
Any ideas?