Opened 11 years ago

Closed 11 years ago

#8110 closed bug (notabug)

Parameter ui.value for event slidecreate should return the min value when no default value is added

Reported by: LaurentGoderre Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.slider Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:


Currently, the slidecreate event returns undefined for the ui.value parameter when no default value is provided which is incorrect since the slider has an initial value (of 0) regardless.

Attaching the slidecreate and slidechange to the same handler is problematic because of this.

Change History (1)

comment:1 Changed 11 years ago by Scott González

Resolution: invalid
Status: newclosed

No, you should never try to figure out the current value using the ui hash. Query the widget directly.

Note: See TracTickets for help on using tickets.