Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229718

Add dynamic options for ion-select in Ionic 3

$
0
0

Please use Ctrl+Shift+C for code preformatting.

clubsList(){
  let info = JSON.parse(localStorage.getItem(‘userDetails’)); //I assume this to be an array then
  //I'm still not sure what the returned Data looks like
  let clubCount = info.user_session.associatedClubs.length;
  for(var i = 0;i < clubCount; i++){
    this.clubDetails.push(info[i]);

}
}

Viewing all articles
Browse latest Browse all 229718

Trending Articles



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