Opened 10 years ago
Closed 10 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: |
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.
Note: See
TracTickets for help on using
tickets.
No, you should never try to figure out the current value using the ui hash. Query the widget directly.