Ticket #4881 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

Slider: value and values methods as setters aren't chainable

Reported by: danwellman Owned by:
Priority: major Milestone: 1.8.12
Component: ui.slider Version: 1.7.2
Keywords: values Cc:
Blocking: Blocked by:

Description

When using the values method of the slider (to set the value of multiple handles), the method returns the new value for each handle instead of returning the chain, so the values method cannot have additonal methods chained to it

Change History

comment:1 Changed 5 years ago by joern.zaefferer

  • Milestone changed from TBD to 1.8

comment:2 Changed 4 years ago by fofanafi

  • Status changed from new to open

Verified under jQuery UI 1.8.11: setting the value or values returns the new value instead of the widget.

Test code:  http://jsbin.com/ehubo/25

Last edited 4 years ago by fofanafi (previous) (diff)

comment:3 Changed 4 years ago by scott.gonzalez

  • Summary changed from Bug in values (setter mode) method with Slider widget to Slider: value and values methods as setters aren't chainable

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

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

Slider: Properly handle value and value methods as setters. Fixes #4881 - Slider: value and values methods as setters aren't chainable.

Changeset: 2197c61f1f91a7b5046fb994d370f38ded602ee6

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

Slider: Properly handle value and value methods as setters. Fixes #4881 - Slider: value and values methods as setters aren't chainable. (cherry picked from commit 2197c61f1f91a7b5046fb994d370f38ded602ee6)

Changeset: 8310d185b3a5fc8f433f0736a22298e84ac73f7d

comment:6 Changed 4 years ago by scott.gonzalez

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