0

I am trying multi-select inside checkbox in angular 4 but it not coming to the checkbox in front of name please help me, anyone

this is my HTML

<select class="form-control" name="assigned_teams" id="assigned_teams" [(ngModel)]="advisorData.assigned_teams" multiple-size="5" multiple>
                            <option [ngValue]="aTeam" *ngFor="let aTeam of assignTeams"><input type="checkbox">{{aTeam.name}}
                            </option>
                        </select>
Ravi Teja
  • 649
  • 7
  • 17

1 Answers1

0

I dont know if i understand you correctly, but you need to set the value property of the input with aTeam.name...

seven
  • 414
  • 4
  • 12