title: How to access the value of ion options in ion-select multiple
body: <p>I am trying to use ion-select multiple to get selected value and its string.. </p>
  
  <p>previously i tried this using ion-checkbox and worked</p>
  
  <pre><code>&lt;ion-item *ngFor="let day of alarm.alarmDays"&gt;
          &lt;ion-label&gt;{{day.name}}&lt;/ion-label&gt;
          &lt;ion-checkbox [(ngModel)]="day.value"&gt;&lt;/ion-checkbox&gt;
  &lt;/ion-item&gt;
  </code></pre>
  
  <p>however when i tried the following it didnt work wonders..</p>
  
  <pre><code>&lt;ion-item&gt;
    &lt;ion-label&gt;Days&lt;/ion-label&gt;
       &lt;ion-select multiple="true" &gt;  
        &lt;ion-select-option *ngFor="let day of alarm.alarmDays" name="day.name" [(ngModel)]="day.value"&gt;{{day.name}}&lt;/ion-select-option&gt;
       &lt;/ion-select&gt;
  &lt;/ion-item&gt;
  </code></pre>
  
  <p>This error came</p>
  
  <pre><code>ERROR CONTEXT
  ERROR TypeError: Cannot read property 'value' of undefined
  
  </code></pre>
  
  <p>here is the object</p>
  
  <pre><code>alarm: Alarm = {
      alarmEnabled: true,
      alarmCreatedBy: "",
      alarmTitle: "",
      alarmTime: "",
      alarmDays:  [
           {
              name: 'Monday',
              value: false,
           },
           {
              name: 'Tuesday',
              value: false,
           },
           {
              name: 'Wednesday',
              value: false,
           },
           {
              name: 'Thursday',
              value: false,
           },
           {
              name: 'Friday',
              value: false,
           },
           {
              name: 'Saturday',
              value: false,
           },
           {
              name: 'Sunday',
              value: false,
           },
         ]
      };
  </code></pre>
  
  <p>iam hopping to be able to retrieve both the value and string from the ion-select multiple, and i wish to see minimum efforts in correcting my english unless you truely dont understand...</p>