Threaded View
-
20 Apr 2011 7:19 AM #1
1.1: Toggle field setValue() causes an exception
1.1: Toggle field setValue() causes an exception
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
Regards,
Vlad.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-522] toggle.setValue() doesn't properly update UI slider
By iffius in forum Sencha Touch 1.x: BugsReplies: 3Last Post: 10 Apr 2013, 1:11 PM -
Ext.form.Toggle - setValue issue
By mathos in forum Sencha Touch 1.x: DiscussionReplies: 6Last Post: 29 Feb 2012, 2:40 PM -
[OPEN-741] Ext.form.Toggle setValue()
By maertsch in forum Sencha Touch 1.x: BugsReplies: 1Last Post: 2 Feb 2011, 5:18 AM -
Toggle component's setValue & toggle functions give an error
By ncanton in forum Sencha Touch 1.x: DiscussionReplies: 0Last Post: 28 Oct 2010, 10:35 PM -
Toggle.setValue() and NestedList.Add() Problems
By SuperTron in forum Sencha Touch 1.x: DiscussionReplies: 1Last Post: 30 Jul 2010, 9:51 PM


Reply With Quote