[ALOY-895] Set Switch state by databinding on opening window
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-02-26T20:50:03.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.4.0, 2014 Sprint 04 |
Components | Models, XML |
Labels | feature, notable, qe-manualtest |
Reporter | Eric Wieber |
Assignee | Tim Poulsen |
Created | 2013-11-26T09:35:45.000+0000 |
Updated | 2014-11-19T21:37:14.000+0000 |
Description
It would
be great when I can set a switch state as I can set labels text
with data binding.
At the moment the collection value get ignored,
for more details see my post here http://developer.appcelerator.com/question/159680/switch-databinding-does-not-work#answer-271563
PR: https://github.com/appcelerator/alloy/pull/340 Functional test 1. Run the app included in the PR 2. Output should include a table, each row of which contains a label and a switch. Switch values should alternate on/off as defined in the collection.
PR: https://github.com/appcelerator/alloy/pull/343