is there a way to disable an option of a select element in angular 4?
I tried something like this but it does not work
<select type="number" [(ngModel)]="selectedItem">
<option [disabled]="i.disabled" *ngFor="let i of items" [ngValue]="i.id">{{i.designator}}</option>
</select>
Whereabout i.disabled contains a boolean.
Many thanks in advance