-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
I'd like to know if its possible to access multiple AutoComplete controls on the same page. I have no problem retrieving values from backend for all of them, but I can't get the values selected.,
the searchbar variable actually points to the second autocomplete control, while searchbar2 is undefined.
In my HTML:
<ion-auto-complete [dataProvider]="provider" #searchbar>
<ion-auto-complete [dataProvider]="provider2" #searchbar2>
In my .ts:
@ViewChild('searchbar')
@ViewChild('searchbar2')
searchbar: AutoCompleteComponent;
searchbar2: AutoCompleteComponent;
I dont know if im doing something wrong, please advice!!!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
