Zachary Taylor
Posts: 0
Joined: Sun Dec 08, 2013 3:49 pm

Component Refresh Does Not Work

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

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

Component Refresh Does Not Work

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?

Zachary Taylor
Posts: 0
Joined: Sun Dec 08, 2013 3:49 pm

Component Refresh Does Not Work

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

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

Component Refresh Does Not Work

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

Return to “Issues”