mardi 18 juin 2019

Checkbox is getting selected even if i am clicking outside of it

I have implemented group of checkbox, so when we click particular checkbox the parameter should get selected but even if i am clicking outside the checkbox in the area of the grouping of all the checkboxes, It is being checked. help me what I am doing wrong? Only when we click on the checkbox that parameter has to be selected.

        <label class="groupList" *ngFor="let param of paramCategorie.paramList">
          <input type="checkbox" (ngModelChange)="changeValue($event, param)"[disabled]='!activeParameter.paramList[param].selected && activeParamCount > 11'
          [(ngModel)]='activeParameter.paramList[param].selected'>




Aucun commentaire:

Enregistrer un commentaire