<input pInputText type="checkbox" [(ngModel)]="rowData.active"> active is a string. It's value is 'true' or 'false'. I wanna bind this string value to a checkbox. So how can I do that?
<input pInputText type="checkbox" [(ngModel)]="rowData.active">
Aucun commentaire:
Enregistrer un commentaire