I have two arrays os strings. One of those will be an dynamic list of checkboxes. I want to check if the item contains in the other array. How can I do it dynamically using angular 6?
This is the current situation of the list of checkboxes... The checked need to be dynamic...
<div *ngFor="let p of people">
<mat-checkbox class="example-margin secondary-text"
[checked]="false" >p</mat-checkbox>
</div>
Aucun commentaire:
Enregistrer un commentaire