Pick select value ionic 2

I NEED PICK THE VALUE AND THE TEXT OF SELECT, I’M TRY AND NO SUCCESS…

<ion-item *ngIf="tabela">
    <ion-label>Tabela de preços</ion-label>
    <ion-select #tabelaSelect (change)="selecionaTabela(tabelaSelect)">
      <ion-option id="tabelaMultipla" *ngFor="let item of optionsList" value="{{item.valor}}">{{ item.texto }}</ion-option>
    </ion-select>
  </ion-item>

public selecionaTabela(input){
let texto = input.text;
let valor = input.value;
this.database.presentToast(texto);
this.database.presentToast(valor);
}

Generally one binds [(ngModel)] on the select.

1 Like