<ion-select ngControl="format" [(ngModel)]="format">
<ion-option value="format1" selected="true">Format 1</ion-option>
<ion-option value="format2"> Format 2 </ion-option>
</ion-select>
I want the form field input to default to Format 1 when the user first sees the page. In the ts file, I also set the default value to “format1”. The code works without [(ngModel)]=“format”. When I added [(ngModel)]=“format” in, the default becomes null. Seems previously in angular 1, angular purposely made it that way. Is there any changes or work arounds in Angular 2?
Thanks!