Greetings !
I have the next issue: I’m trying get some information from a table in SQL Server and display them in a ion-select. I have the next code:
file.ts
for(var i = 0;i < data.length; i++){
this.list = [
{"Room": data[i][2],"ID":data[i][1]}
]
}
file.html
<ion-select [(ngModel)]="select">
<ion-option value="">Select a option</ion-option>
<ion-option *ngFor="let list of lists" value="{{ID}}">{{Room}}</ion-option>
</ion-select>
But the ion-select don’t display them.