Why checkbox is selected?

0

I have the following code ...

<mz-checkbox-container>
  <input mz-checkbox
     id="select-all-{{i}}-{{index}}" 
     type="checkbox"
     (change)="selectCheck(i)"
     [(ngModel)]="cards[i].valueFlights[index]">
</mz-checkbox-container>

That checkbox is coming out to me selected, when in no time in the code, I have written that it comes out like this.

I would like you to help me solve this, so that it comes out without being selected.

NOTE: - The checkbox I'm bringing it from materialize link
- ngModel brings an array of Booleans from the component

    
asked by Jhonatan Cardona Valencia 10.07.2018 в 18:12
source

0 answers