Answers for "ngmodel for select in angular 6"

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

Code answers related to "ngmodel for select in angular 6"

Browse Popular Code Answers by Language