Hi,
We ran into a serious issue with the switch, when applying custom labels (a must for international support).
If the on/off labels are changed - after initialization ($("#my...").kendoMobileSwitch({...})
it all works well.
If we change the value in code (either by referencing the checked attribute of the tag or by doing $("#my....").data("kendoMobileSwitch").options.checked = .... the visual display gets crazy, it loses the custom values, and in iOS seems to also lose the blue color for on.
The solution we found was to initialize the tag each time we are trying to set it's value. It works well, but we get a DOM leak, we get junk tags created in the DOM from the previous executions.
Suggestions for a workaround or fixes would be greatly appreciated.
We ran into a serious issue with the switch, when applying custom labels (a must for international support).
If the on/off labels are changed - after initialization ($("#my...").kendoMobileSwitch({...})
it all works well.
If we change the value in code (either by referencing the checked attribute of the tag or by doing $("#my....").data("kendoMobileSwitch").options.checked = .... the visual display gets crazy, it loses the custom values, and in iOS seems to also lose the blue color for on.
The solution we found was to initialize the tag each time we are trying to set it's value. It works well, but we get a DOM leak, we get junk tags created in the DOM from the previous executions.
Suggestions for a workaround or fixes would be greatly appreciated.