Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#9355 closed bug (fixed)

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.

Change History (5)

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

Status: newopen
Summary: Dynamic Range typeSlider: Changing range option to false does not remove range div.
Last edited 5 years ago by Scott González (previous) (diff)

comment:2 Changed 5 years ago by Scott González

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

comment:3 Changed 5 years ago by Scott González

Milestone: none1.11.0

comment:4 Changed 5 years ago by Scott González

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

comment:5 Changed 5 years ago by Scott González

Milestone: 1.11.01.10.4
Note: See TracTickets for help on using tickets.