Ionic 2
when iterating through objects in an array with *ngFor I cant set a value for the “for” property on a label. This results in the page not loading. Other properties on the label work fine. e.g. “name”, “id” etc. <ion-item *ngFor="#object of array"> <input type="checkbox" id={{object.id}}> <label for={{object.id}}>{{object.name}}</label> </ion-item>
Anyone know a work around? I don’t want to use the <ion-checkbox> as I have my own custom check box.