Using ST 1.1.

Trying to replace a checkbox on a floating form panel with a toggle. Replacing checkbox's check() and uncheck(), which worked perfectly, with toggle's setValue(1) and setValue(0), causes an exception shown below. The form panel with the toggle has not been displayed when the setValue() was called.

Call stack:

Uncaught TypeError: Cannot read property 'offsetBoundary' of undefined
Ext.form.Slider.Ext.extend.getPixelValue sencha-touch-debug.js:27341
Ext.form.Slider.Ext.extend.setValue sencha-touch-debug.js:27286
Ext.form.Toggle.Ext.extend.setValue sencha-touch-debug.js:27517
Views.DalTestView.Ext.extend.TableChanged DalTestView.js:267