samedi 17 novembre 2018

On change of checkbox state remain same in UI

<input type="checkbox" [(ngModel)]="rowData.is_permitted" (change)="changeStatus()">

changeStatus() {
rowData.is_permitted = true;
}

If I uncheck checkbox but conditionally I want to select the checkbox, the flag updated but not affect in UI.




Aucun commentaire:

Enregistrer un commentaire