'How to pass multiple options id in angular

I'm trying to pass multiple select options with an array reactive forms, here is my code HTML:

<form [formGroup]="teamForm"  (ngSubmit)="saveTeam(teamForm)" novalidate>
 <mat-form-field appearance="fill">
            <mat-select  formControlName="tblUsers"  name="tblUsers" multiple>
              <mat-option>Select Users</mat-option>
              <mat-option *ngFor="let option of options let i =index"  [value]="option.id">{{option.name}}</mat-option>
          </mat-select>
        </mat-form-field>
<button>Ok</button>
</form>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source