Skip to main content

Search and Top Navigation

#8110 closed bug (notabug)

Opened February 08, 2012 09:55PM UTC

Closed February 09, 2012 12:37AM UTC

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:
Description

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.

Attachments (0)
Change History (1)

Changed February 09, 2012 12:37AM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

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