<ion-select class="border" interface="popover" placeholder="Qualify Status" [(ngModel)]="status_value" #status name="status" (ionChange)="getStatus(status_value)" >
<ion-select-option *ngFor="let item of responseLeadStatus" value="{{item.status_id}}" >{{item.status}}</ion-select-option>
</ion-select>
I want to set default value to ion-select dynamically .i.e From .ts file to HTML
I also got status_id in .ts file.
2 posts - 2 participants