angular select ((ngmodel selected))

50

[(ngModel)] in a select -

<select name="miselect" [(ngModel)]="seleccionados" multiple="multiple">
    <option [value]="item" *ngFor="let item of lista">{{item}}</option>
</select>

Comments

Submit
0 Comments