Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    19
    Vote Rating
    0
    maertsch is on a distinguished road

      0  

    Default [OPEN-741] Ext.form.Toggle setValue()

    [OPEN-741] Ext.form.Toggle setValue()


    Hi,

    i have a toggle button with default configuration.

    when i want to set a value with setValue() it throws an error:
    TypeError: Result of expression 'thumb.dragObj' [undefined] is not an object. -> sencha-touch-debug.js:27029

    also i noticed something in the documentation:
    maxValue : Number
    The highest value any thumb on this slider can be set to (defaults to 100)
    Toggle has minValue:0 and maxValue:1... (sencha-touch-debug.js:27366)
    And also animationDuration is default to 70 and not 200 like mentioned in the docs.

    tested with 1.0.1a

  2. #2
    Sencha User
    Join Date
    Aug 2010
    Posts
    19
    Vote Rating
    0
    maertsch is on a distinguished road

      0  

    Default


    And another Toggle-Bug:
    If you click in a form and drag, then the toggle-button moves out of place.




    tested with 1.0.1a on chrome/safari, android 2.2 emulator, galaxy s 2.2, iphone 4

Similar Threads

  1. [FIXED-522] toggle.setValue() doesn't properly update UI slider
    By iffius in forum Sencha Touch 1.x: Bugs
    Replies: 3
    Last Post: 10 Apr 2013, 1:11 PM
  2. Ext.form.Toggle - setValue issue
    By mathos in forum Sencha Touch 1.x: Discussion
    Replies: 6
    Last Post: 29 Feb 2012, 2:40 PM
  3. Replies: 2
    Last Post: 21 Apr 2011, 12:50 AM
  4. Toggle component's setValue & toggle functions give an error
    By ncanton in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 28 Oct 2010, 10:35 PM
  5. Toggle.setValue() and NestedList.Add() Problems
    By SuperTron in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 30 Jul 2010, 9:51 PM