# Checkbox issues with list of item

**URL:** <https://forum.ionicframework.com/t/checkbox-issues-with-list-of-item/179999>\
**Category:** ionic-v3\
**Created:** [December 19, 2019, 5:39am UTC](https://forum.ionicframework.com/t/checkbox-issues-with-list-of-item/179999 "2019-12-19T05:39:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flycoders\_sourav](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@flycoders\_sourav](https://forum.ionicframework.com/u/flycoders_sourav)\
**Post date:** [December 19, 2019, 5:39am UTC](https://forum.ionicframework.com/t/checkbox-issues-with-list-of-item/179999/1 "2019-12-19T05:39:50Z")

</div>

I have list of item and inside every item open a same checkbox list but when select the checkbox from system 1 list it should be show only for system 1. but its show for every list of item. How can i do that.  
below i attach my UI

 ![Screen Shot 2019-12-16 at 11.37.30](https://global.discourse-cdn.com/ionicframework/original/3X/5/f/5f91204ecad671ab450061e23c6b5956bf19c3e0.png)  
Please help me out.  
**.modal.ts**

```auto
close(){

   

    this.viewCtrl.dismiss(this.selectedArray);

  }

  selectMember(data,i){

   

//for(let i=0; i<this.add_system;i++){

  

  if(data.checked ==true){

      

    this.selectedArray.push(data)

    console.log(i)

    //this.selectedArray[0].push(data)

  }

  else{

    let newArray = this.selectedArray.filter(function(el) {

      return el.id !== data.id;// id set is the static object. it will check according database response

   });

    this.selectedArray = newArray;

    //this.text_field =false;

  }

  console.log(this.selectedArray);

}

```

**.list.ts**

```auto
openServiceproblem(index) {

    const modal = this.modalCtrl.create(ServiceproblemPage,{add_system:this.add_system});

    modal.onDidDismiss(data => {

      this.user_selected_service_data=data;

  });

    modal.present();

  }

```

**.html**  
` <ion-col col-12><p class="repair-detailsa-all-con" *ngFor="let item of user_selected_service_data; let i=index" >{{item.name}}</p></ion-col>`
