Ticket #5471 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

slider: value not aligned to step when set programatically

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

Description

From the slider specs  http://wiki.jqueryui.com/Slider#specs "value option/method: the value option is not restricted by min/max/step. What is returned by the value method is restricted by min (>=), max (<=), and step (even multiple)"

The slider method value currently returns a val restricted by min and max but not aligned to step. All values from this method should be aligned to step, though the value option underneath can contain an unaligned value, to prevent data loss.

Change History

comment:1 Changed 5 years ago by rdworth

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

Fixed in  5ffd3ab

comment:2 Changed 5 years ago by rdworth

and  51b72a5

comment:3 Changed 4 years ago by rdworth

  • Milestone changed from 1.9 to 1.8.1
Note: See TracTickets for help on using tickets.