Confusion on the checked value of a ion-toggle

I’m confused why the following two lines are not equivalent. ngModel enables to modify the state of the button by modifying the value AND to modify the value if the state of the button changes. The checked version only works half way.

<ion-toggle [(ngModel)]="myvalue"></ion-toggle>

<ion-toggle [(checked)]="myvalue"></ion-toggle>

Can anyone explain why checked works only half way?

Because you’re using the wrong syntax for checked. Tt needs to be: [checked]. More info can be found in the Angular Docs.