How can I make a new array out of selected objects ?
.ts
selectedObjects: object[];
objectArray: object[];
.html
<div *ngFor="let object of objectArray">
<input [checked]="selectedObjects" type="checkbox" name="object.name" value="object.property2">
</div>
Aucun commentaire:
Enregistrer un commentaire