I am currently using ionic 4 and I am using the ion-select and ion-select-option tags in html side.
After looking at the documentations when I try to use the selected=true in the ion-select-option it doesn't default to that option chosen. Is there anything that i'm missing or doing wrong?
Here is how my code looks like in the HTML side. I only binded the ngModel on the ts side and nothing else
<ion-select class="ion-select" [(ngModel)]="dialCode">
<ion-select-option value="+1" selected=true>+1</ion-select-option>
<ion-select-option value="+852">+852</ion-select-option>
<ion-select-option value="+86">+86</ion-select-option>
</ion-select>