this.form = this.builder.group({
id: [],
permissoes: ([{}]),
}, {});
<div class="col-md-6">
<select class="form-control" formControlName="permissoes" [compareWith]="compareFn" multiple>
<option *ngFor="let permissao of permissoes" [ngValue]="permissao">{{permissao.nome}}</option>
</select>
</div>
All selects are equal, is it possible to merge all selects in this permissions array?