Answers for "ngmodel for select in angular"

1

[(ngModel)] in a select

<select name="miselect" [(ngModel)]="seleccionados" multiple="multiple">
    <option [value]="item" *ngFor="let item of lista">{{item}}</option>
</select>
Posted by: Guest on March-02-2021

Browse Popular Code Answers by Language