Page 1 of 2

Toggle switch in list bug

Posted: Mon Apr 21, 2014 11:44 pm
by Yan Yi

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.


Toggle switch in list bug

Posted: Tue Apr 22, 2014 7:03 am
by Maryna Brodina

Hello!

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


Toggle switch in list bug

Posted: Tue Apr 22, 2014 7:59 am
by Yan Yi

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


Toggle switch in list bug

Posted: Tue Apr 22, 2014 3:37 pm
by Kateryna Grynko

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?


Toggle switch in list bug

Posted: Wed Apr 23, 2014 5:27 am
by Maryna Brodina

Hello!

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


Toggle switch in list bug

Posted: Wed Apr 23, 2014 6:05 pm
by Yan Yi

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


Toggle switch in list bug

Posted: Wed Apr 23, 2014 6:28 pm
by Kateryna Grynko

Hi Yan,

Sure.


Toggle switch in list bug

Posted: Fri Apr 25, 2014 12:18 am
by Yan Yi

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


Toggle switch in list bug

Posted: Fri Apr 25, 2014 7:38 am
by Maryna Brodina

Hello!

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


Toggle switch in list bug

Posted: Mon Apr 28, 2014 12:51 pm
by Maryna Brodina

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