Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70813

Ion-select: How can I make a text dependent on a variable?

$
0
0

Hello, I have already created the following code. Now I would like to display a different text block under the selection field for each individual value. How does this work?

  <ion-item>
    <ion-label>Organisation:</ion-label>
    <ion-select value="B" [(ngModel)]="selected_organisation">
      <ion-select-option value="B">First</ion-select-option>
      <ion-select-option value="U">Secound</ion-select-option>
      <ion-select-option value="W">Third</ion-select-option>
    </ion-select>
  </ion-item>

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70813

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>