My p-multiSelect in the tamplate:
<p-multiSelect
name="selectedItens"
[options]="vlans"
[(ngModel)]="selectedItens"
optionLabel="name"
></p-multiSelect>
In the ngOnInit I havet this code to populate the selectedItens:
this._myService
.getSelectedItens(this.myDto.id)
.pipe()
.subscribe(data => {
this.selectedItens = data["result"];
});
The selectedItens is an object like this:
name: string | undefined;
active: Boolean | undefined;
id: number;
I checked the return value witch console.log and everything looks right, but my multSelect look like this:

data["result"] sample:
0: {name: "V-123", active: true, id: 3}
1: {name: "V-832", active: false, id: 333}
2: {name: "V-220", active: false, id: 6}
All options appear normally in the list, but when I click on to select any more fields the checkbox is not checked despite working (the item clicked is added to the array).
If I remove the [(ngModel)]="selectedItens" everything works fine, but I need to show the itens that already beend selected.