Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

Error rendering checkbox within html widget within a list

In order to get around styling issues I am using the list widget and inserted an HTML Widget. Within the HTML widget I have created a checkbox. When the page is rendering the following issue is reported at the console:

Error: cannot call methods on checkboxradio prior to initialization; attempted to call method 'refresh' {stack: (...), message: "cannot call methods on checkboxradio prior to initialization; attempted to call method 'refresh'"}

Image

Everything works fine, but to get around this issue I programmatically add the checkbox through the pageShow event.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Error rendering checkbox within html widget within a list

Hi Miguel,

I tried the same and all works correctly.

See details:

  1. Checkbox withing HTML(div) withing list-item.
    Details: http://prntscr.com/74z5ek/direct

  2. Result:
    Details: http://prntscr.com/74z5ml/direct

    So currently your problem is not clear. I guess the culprit of this problem could be in implementation. Please try what i show in my screen shot on other page to test it.

    Regards.

Miguel Navarro7469744
Posts: 0
Joined: Mon Apr 06, 2015 4:55 pm

Error rendering checkbox within html widget within a list

The difference with mine is that I enter raw html checkbox within the html div. I do this so that I can have a native element sans jqm enhancements.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Error rendering checkbox within html widget within a list

Hi Miguel,

Please show us details(how we can reproduce it in our app) about your implementation.

Thanks.

Return to “Issues”