0
votes

I need to check the items "Not open" in an ion-checkbox, but the item I get from a server is item.open. When I click on the ion-checkbox it doesn't work correctly.

Does anyone have a solution?

ion-checkbox [(ngModel)]="!item.open"
1

1 Answers

0
votes

You can use ionChange method so you will be able to keep track of the value.