I want select a option in my select - option in my html with Angular2 , but I need do this for code.
<select name="lastDataVi" [(ngModel)]="lastDataVi">
<option [ngValue]="undefined" selected="true" disabled="disabled">Select option</option>
<option [ngValue]="vicombo.id" *ngFor="let vicombo of paramsServer.vicombo"> {{ vicombo.id}} </option>
</select>
although I have my
<option [ngValue]="undefined" selected="true" disabled="disabled">Select option</option>
I need when I do click the button , Put the select- option in the frist option ->
<option [ngValue]="undefined" selected="true" disabled="disabled">Select option</option>