[AC-1689] Can't create Picker from XML without 'id' property
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2014-07-18T19:34:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | n/a |
Reporter | Far |
Assignee | Steven Scott |
Created | 2014-07-07T11:34:25.000+0000 |
Updated | 2016-03-08T07:38:11.000+0000 |
Description
<Picker type="Ti.UI.PICKER_TYPE_TIME"/>
compiles into
$.__views.__alloyId227 = Ti.UI.createPicker({
...
id: __alloyId227
});
instead
$.__views.__alloyId227 = Ti.UI.createPicker({
...
id: "__alloyId227"
});
Hm, look like picker with any id different to "picker" compiles to such buggy code.
Thanks for the ticket. I know yours came in first. I'm going to close this one as a duplicate though because the other one (now ALOY-1091) more clearly described the problem and came with a pull request.