title: Ionic 3 using ion-checkbox for only select one
body: <p>How can I using checkbox for select one (just like radio), my code:</p>
  
  <pre><code>&lt;div *ngFor="let address of addresses; let i = index;"&gt;
    &lt;ion-item&gt;
      &lt;ion-checkbox id="cb_{{address.id}}" (ionChange)="selectedAddress(address.id,addresses,i)" checked="false"&gt;&lt;/ion-checkbox&gt;
    &lt;/ion-item&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>in ts file:</p>
  
  <pre><code>selectedAddress(id,addresses,index){
    for(let i=0; i&lt;addresses.length; i++){
      if(index != i){
        document.getElementById("cb_"+addresses[i].id).checked = false;
      }
    }
  }
  </code></pre>
  
  <p>but it is not working, anyone know how to achieve it? thanks a lot</p>