Yan Yi
Posts: 0
Joined: Sat Jan 25, 2014 7:38 pm

Toggle switch in list bug

Hi!

There might be a bug for the toggle switch.

I placed a toggle switch in a list using grids. On page show, list_service is called.

The following error is produced:
Uncaught TypeError: undefined is not a function appery.js:745

appery.js:745 problematic statement
code
if (child.children('select').attr('data-role') === 'flipswitch')
$.mobile.slider.prototype.enhanceWithin(child);
}
/code
This problem does not occur if I create a toggle switch outside of the list item.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Toggle switch in list bug

Hello!

Please post screenshot of page from builder and list_service mapping screenshot.

Yan Yi
Posts: 0
Joined: Sat Jan 25, 2014 7:38 pm

Toggle switch in list bug

Thanks for your reply! There is no problem with the list at all. Works fine. Error only occurs when I add in the toggle
Image

Image

Image

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Toggle switch in list bug

Hi Yan,

We cannot reproduce this behaviour. Could you please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us how to reproduce it?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Toggle switch in list bug

Hello!

We tested your and our sample app. Unfortunately there is a bug. We will fix it.

Yan Yi
Posts: 0
Joined: Sat Jan 25, 2014 7:38 pm

Toggle switch in list bug

Thank you. Could you post here when it is fixed?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Toggle switch in list bug

Hi Yan,

Sure.

Yan Yi
Posts: 0
Joined: Sat Jan 25, 2014 7:38 pm

Toggle switch in list bug

Hello! May I know when will this be fixed, or is there a workaround?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Toggle switch in list bug

Hello!

Looks like it is going to be fixed in next release only, but we will try to find workaround.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Toggle switch in list bug

Sorry, seems to be there is no workaround...

Return to “Issues”