0

Hi I am a newbie to the Ionic 2 here I am facing an issue related to the checkboxes here what I doing I want to get the values from checkboxes after checking it here I am using the reactive approach so I want to get the data using the formControlname

<ion-list *ngFor="let item of collection">
            <ion-list-header>
              Skills
            </ion-list-header>

            <ion-item >
              <ion-label>{{item.label}}</ion-label>
              <ion-checkbox ></ion-checkbox>
            </ion-item>

          </ion-list>






this.collection=[
                {
                    "label": "English",
                    "checked": false
                },
                {
                    "label": "Computer",
                    "checked": false
                },
                {
                    "label": "Sales",
                    "checked": false
                },
                {
                    "label": "Driving",
                    "checked": false
                },
                 ]  
Tomislav Stankovic
  • 3,080
  • 17
  • 35
  • 42
  • Possible duplicate of [Angular how to get the multiple checkbox value?](https://stackoverflow.com/questions/43423333/angular-how-to-get-the-multiple-checkbox-value) – Arun Kumaresh Jan 31 '18 at 07:13
  • https://ionicframework.com/docs/api/components/select/Select/ This can be a useful link – HexaCrop Jan 31 '18 at 08:53

0 Answers0