I created a list in the application which I can select an option that will be saved in the database, I would like to load the application that the saved option already comes as selected.
Today loading it looks like this:
IwouldliketostarttheapplicationwhenIloadthelastsavedoption:
Mycode:
<buttonion-buttonfullcolor="white" class="text-ddi">
<ion-select [(ngModel)]="selectddi" interface="popover" align-left (ionChange)="ddiSelecionado();">
<ion-option *ngFor="let ddilista of ddilista" value="{{ddilista.codigo}}" >{{ddilista.nome}}</ion-option>
</ion-select>