Results 1 to 4 of 4

Thread: sliderField

  1. #1
    Sencha - Services Team Stju's Avatar
    Join Date
    Dec 2008
    Location
    Redwood city, California
    Posts
    293

    Default sliderField

    Looking at the source looks like sliderField is not firing events...

  2. #2
    Sencha - Services Team Stju's Avatar
    Join Date
    Dec 2008
    Location
    Redwood city, California
    Posts
    293

    Default

    Quick Fix:
    Code:
    Ext.override(Ext.form.SliderField, {
        onChange : function(slider, v){
            this.setValue(v, undefined, true);
            this.fireEvent('change',this);
        }
    });

  3. #3
    Sencha - Services Team Stju's Avatar
    Join Date
    Dec 2008
    Location
    Redwood city, California
    Posts
    293

    Default

    Can please someone move this to Bugs, as this is still not fixed in 3.2.2...
    Or Maybe I am the only one using this event?

  4. #4
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    9

    Default

    You are not the only one using this event. I have used your override to update a label with the current value of the slider on the change event. I'd like to also use the changecomplete event. Do you know how to override that event?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •