Hi all ! Can anyone help please ! Why ion-checkbox with parametr checked=“false” dose not work and we can see checked checkbox ?
<ion-item text-center class="">
<ion-label class="" text-center></ion-label>
<ion-checkbox checked="false" text-center [(ngModel)]="down"></ion-checkbox>
</ion-item>
snikh
2
It’s not clear what do you want? You can’t see checkbox at all or checkbox is not checked?
- checked=“false” set checkbox to unchecked state
- Prefer set start value in your component
public down: boolean = false;
snikh, thanks for answer.
Fayme
4
But setting it false doesn’t show up on the view