Skip to main content

Search and Top Navigation

#9355 closed bug (fixed)

Opened June 03, 2013 01:39PM UTC

Closed June 03, 2013 07:15PM UTC

Last modified November 26, 2013 04:01PM UTC

Slider: Changing range option to false does not remove range div.

Reported by: lukerichison Owned by:
Priority: minor Milestone: 1.10.4
Component: ui.slider Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

Fiddle: http://jsfiddle.net/lukerichison/QTB6D/

When dynamically changing the slide option "range" from true/min/max to false, the div class "ui-slider-range" does not clear or is not removed properly. Also, if the range option is changed from true to false, two handles remain instead of just one. This does not happen when switching from true to min/max.

In v1.9, updating the range value does not work. The usable workaround (for both versions) is to destroy the slider and then reinitialize with the new range option.

Attachments (0)
Change History (5)

Changed June 03, 2013 01:45PM UTC by scottgonzalez comment:1

_comment0: `range: true` with a single value is an invalid state. What1370267380304803
status: newopen
summary: Dynamic Range typeSlider: Changing range option to false does not remove range div.

Changed June 03, 2013 07:15PM UTC by Scott González comment:2

resolution: → fixed
status: openclosed

Slider: Remove range div when changing range option to false. Fixes #9355 - Slider: Changing range option to false does not remove range div.

Changeset: 2ba75e2c93638d89e89de52347da0013a7a841b8

Changed June 03, 2013 07:15PM UTC by scottgonzalez comment:3

milestone: none1.11.0

Changed November 26, 2013 04:00PM UTC by Scott González comment:4

Slider: Remove range div when changing range option to false. Fixes #9355 - Slider: Changing range option to false does not remove range div.

(cherry picked from commit 2ba75e2c93638d89e89de52347da0013a7a841b8)

Changeset: 8fba171fec64cae094566c6777e40c252ecef812

Changed November 26, 2013 04:01PM UTC by scottgonzalez comment:5

milestone: 1.11.01.10.4