[TIMOB-10339] Blackberry: Implement Titanium.UI.Switch 'value' property
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-09-05T07:08:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint 2012-18 BB, BB Preview 3 |
Components | BlackBerry |
Labels | n/a |
Reporter | Hayk Zakaryan |
Assignee | Josh Roesslein |
Created | 2012-08-08T07:30:47.000+0000 |
Updated | 2017-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'
This is a regression. It was working several days ago and now it is really broken.
Getter for value is not implemented. Also is seems that the apidoc for switch has never been updated.
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
Not quite complete the value needs to be updated when the user changes it through the UI
Closing ticket as Blackberry is no longer supported.