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

Changing the view based on radio button selection

$
0
0

Hi I'm fairly new with Ionic and AngularJS.
I have created a page to select different options and display them on the next page, however I am stuck with how to make the two separate pages. I have two options:

<ion-radio ng-model="choice" ng-value="indoor">Indoor</ion-radio>
<ion-radio ng-model="choice" ng-value="outdoor">Outdoor</ion-radio>

So if the indoor value was chosen 3 drop-downs would appear on the page and if outdoor was selected 6 would appear.

Thanks


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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