Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10439] Blackberry: Slider value property is not working

GitHub Issuen/a
TypeSub-task
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-09-13T08:53:57.000+0000
Affected Version/sn/a
Fix Version/sSprint 2012-18 BB, BB Preview 3
ComponentsBlackBerry
Labelskitchensink
ReporterHayk Zakaryan
AssigneeJosh Roesslein
Created2012-08-14T04:45:40.000+0000
Updated2017-03-03T00:44:17.000+0000

Description

When creating a slider ( Titanium.UI.Slider ) and trying to get it's vale property - NAN is returned. By docs it should return String - current value. From the KS perspective (as noted by Hranush): Position number values are "Undefined" during changing values in Slider Step1: Open Controls -> Slider -> Change Min/Max Step2: Change Slider value by your own Actual result: the values are: "Min: undefined Pos: undefined Max: undefined" Expected result: the values should be for example: "Min:0 Pos: 23 Max: 100"

Comments

  1. Hayk Zakaryan 2012-08-21

    slider.getValue() returns 'undefined'
  2. Jean-Philippe Lemieux 2012-08-28

    Need to update the value on user interaction
  3. Hranush Mezhlumyan 2012-09-07

    Min and Max values are working as expected. But the "Pos" gets the corresponding values only when pressing buttons. For example after pressing the button -5/75/105, Result: Min: -5 Pos: 75 Max: 105 After changing the value: Result: Min -5 Pos: ... Max: 105 Only if Pos has Min or Max values, it shows the correct value like (Min: -5 Pos: -5 Max: 105)
  4. Hranush Mezhlumyan 2012-09-07

    In Slider -> Base the value is already showing the expected one instead of NAN. This part is fixed.
  5. Jean-Philippe Lemieux 2012-09-07

    This is an issue with the width of the label in KS. The pos value is a float and makes for a long number, this is why it's replaced with the ellipsis (...) Assigning to Hayk to widen the pos label in KS
  6. Lee Morris 2017-03-03

    Closing ticket as Blackberry is no longer supported.

JSON Source