Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49238

Ionic select using a http json file

$
0
0

@PleaseHelpMeIWillLov wrote:

So I want to make all the options from the json array

example i open the ion item and all the options are from the option array

{
"name":"John",
"age":30,
"option":[ "1", "2", "3" ]
}
<ion-item>
  <ion-label>Gender</ion-label>
  <ion-select [(ngModel)]="options">
    <ion-option></ion-option>
  </ion-select>
</ion-item>

PleaseHelpMeIwIllLoveyOuForEver!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49238

Trending Articles



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