Page 1 of 1

Component Refresh Does Not Work

Posted: Thu Feb 06, 2014 4:23 pm
by Zachary Taylor

When I show or hide a component it updates fine in test mode, but when I test it on the phone, the updates do not occur.
I tried adding an explicit refresh but that did not work:
Tiggr('mobilelabel_comp2').show();
Tiggr('mobilelabel_comp2').refresh();

How can I get the updates to refresh?

Thank you


Component Refresh Does Not Work

Posted: Thu Feb 06, 2014 6:37 pm
by Maryna Brodina

Hello! For what component do you apply it? For a Label? Could you post screenshot how do you add event and code? Do you test using Tester or install app on device? What device and OS version you use?


Component Refresh Does Not Work

Posted: Fri Feb 07, 2014 3:32 pm
by Zachary Taylor

Hi Maryna,

So basically upon a click of a checkbox, I would like a label on the same page to be toggled between show() and hide(). This works great on the Tester. But when I test on a real phone, the click is ignored. I found a workaround by changing the event on the checkbox from "Click" to "Value Change." Now all works well. However, I am curious though as to why "Click" event does nothing. Can you explain?

Thanks,

Zack


Component Refresh Does Not Work

Posted: Fri Feb 07, 2014 9:57 pm
by Maryna Brodina

Hello! Yes, you're right - it's a known issue. Looks like JQM or Input on device (PhoneGap) feature.