Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Navigating to pages from select item with ionic framework

Please use ng-change instead of ng-click. If it doesn't help - please share (http://devcenter.appery.io/documentat...) your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and provide us with the following information:

1) App name
2) Test credentials if login functionality is implemented in your app
3) Detailed steps to reproduce the issue

William Fulton
Posts: 0
Joined: Tue Feb 18, 2014 7:51 pm

Navigating to pages from select item with ionic framework

The app is called TuffyCF.

I have shared this app with support.

To reproduce the error, load the app in test, from the select module, choose Apopka. (The desired behavior is that the app will navigate to the Apopka page but currently nothing happens.)

Thanks!

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Navigating to pages from select item with ionic framework

  1. Add scope variable "selectedLocation"
    1. Please set model to the component "Options1".
      ng-model=selectedLocation
    2. Add for that component attribute ng-change:
      ng-change=nav(selectedLocation)
    3. Delete all ng-change attributes from options of that component (http://prntscr.com/9rkf17)
    4. Add values for each option (http://prntscr.com/9rkf5o)
    5. Change you scope function nav to that:
      Apperyio.navigateTo(pageName);
    6. Add parameter "pageName" to the function "nav" (http://prntscr.com/9rkft0)
William Fulton
Posts: 0
Joined: Tue Feb 18, 2014 7:51 pm

Navigating to pages from select item with ionic framework

In step 6, I assume you mean add "pageName" as an argument to the function "nav". I have completed all of these steps but it still does not seem to work.

William Fulton
Posts: 0
Joined: Tue Feb 18, 2014 7:51 pm

Navigating to pages from select item with ionic framework

Sorry, I missed a step here. This is working now!

Thank you so much!

Elizabeth B.
Posts: 0
Joined: Wed Jul 20, 2016 4:38 pm

Navigating to pages from select item with ionic framework

Hello, I'm having trouble with this same issue. I would really appreciate it if you can help me solve this? Thank you so much

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Navigating to pages from select item with ionic framework

Hello Elizabeth,

Please specify what have you tried and what exactly doesn't work.

Return to “Issues”