Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#18381 closed defect (fixed)

[patch][cla] dojox/form/HorizontalRangeSlider#watch('value') callback never fired

Reported by: mwistrand Owned by: dylan
Priority: high Milestone: 1.11
Component: DojoX Form Version: 1.10.2
Keywords: Cc:
Blocked By: Blocking:

Description

Callbacks watching for value changes are never fired, since Slider#value is reset to the new value before the inherited _WidgetBase#_set is called, which requires the old and new values to be different before calling the _watchCallbacks method.

var rangeSlider = new HorizontalRangeSlider(null, "rangeSlider");
rangeSlider.startup();

rangeSlider.watch('value', function () {
    console.log('value change');
});

Change History (5)

comment:1 Changed 5 years ago by dylan

Milestone: tbd1.11
Owner: changed from dante to dylan
Priority: undecidedhigh
Status: newassigned

comment:2 Changed 5 years ago by dylan

Summary: dojox/form/HorizontalRangeSlider#watch('value') callback never fired[patch][cla] dojox/form/HorizontalRangeSlider#watch('value') callback never fired

comment:3 Changed 4 years ago by dylans <dylan@…>

In 5d98b2d09011b5526b8cbe9675ea0e6509eda587/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:4 Changed 4 years ago by dylan

Resolution: fixed
Status: assignedclosed

Cannot easily backport because 0dc0d46b94de9fcf3c934358d07677a8d6ba423e/dojox changes functionality.

comment:5 Changed 4 years ago by dylans <dylan@…>

In 9385934b09d614a719d76656d72c6806f03a4c90/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.