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

Setup ion-select to have one value for drop down but a different value for selected

$
0
0

@helpmelearn wrote:

We have a ion-select drop down box with States or Provinces.
The drop down list has long name, Utah, California … even longer provinces.
What I’m trying to do is show the long name, but after one is selected to show the abbreviation (which is our id value we are using for the list).

Our list is setup like this.
{
“id”: “USA”,
“states”:[
{
“id”:“AL”,
“value”:“Alabama”
},
{
“id”:“AK”,
“value”:“Alaska”
},

Show value in the drop down, but when its selected show id field.
This this possible?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



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