Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10339] Blackberry: Implement Titanium.UI.Switch 'value' property

GitHub Issuen/a
TypeSub-task
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2012-09-05T07:08:25.000+0000
Affected Version/sn/a
Fix Version/sSprint 2012-18 BB, BB Preview 3
ComponentsBlackBerry
Labelsn/a
ReporterHayk Zakaryan
AssigneeJosh Roesslein
Created2012-08-08T07:30:47.000+0000
Updated2017-03-03T01:05:22.000+0000

Description

When creating a Switch control, and trying to set or view the switch 'value' attribute (which should control switch's On/Off state) It i snot working. In KitchenSink by clicking 'Change Switch' button you can only turn off the switch. Also tried logging switch.value, and in the log get the following result: 'Switch Value = undefined'

Comments

  1. Hranush Mezhlumyan 2012-08-10

    This is a regression. It was working several days ago and now it is really broken.
  2. Jean-Philippe Lemieux 2012-08-22

    Getter for value is not implemented. Also is seems that the apidoc for switch has never been updated.
  3. Hayk Zakaryan 2012-08-22

    switch.setValue() working properly (above comment is not correct). Apidoc - it is mentioned that Titanium.UI.Switch.change event is implemented, but it also not working
  4. Jean-Philippe Lemieux 2012-08-28

    Not quite complete the value needs to be updated when the user changes it through the UI
  5. Lee Morris 2017-03-03

    Closing ticket as Blackberry is no longer supported.

JSON Source