Opened 7 years ago

Closed 6 years ago

#4522 closed bug (fixed)

slider: values option doesn't work for setting, values method does

Reported by: rdworth Owned by:
Priority: major Milestone: 1.8
Component: ui.slider Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by rdworth)

The following code

$("#slider").slider("option", "values", [25, 75]);

should work just as well as

$("#slider").slider("values", 0, 25); $("#slider").slider("values", 1, 75);

Currently, only the latter works.

Also, it would be nice if the values method accepted an array, just like the values option. This doesn't work:

$("#slider").slider("values", [25, 75]);

but would be nice.

Change History (2)

comment:1 Changed 6 years ago by rdworth

  • Description modified (diff)

comment:2 Changed 6 years ago by rdworth

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r3364

Note: See TracTickets for help on using tickets.