[ALOY-1093] Picker: quotes removed from dimension properties with string values during parsing
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2014-07-21T16:27:02.000+0000 |
Affected Version/s | Alloy 1.4.0 |
Fix Version/s | Alloy 1.5.0 |
Components | XML |
Labels | alloy, qe-testadded, tab |
Reporter | Samuele Coppede' |
Assignee | Tim Poulsen |
Created | 2014-07-21T08:05:11.000+0000 |
Updated | 2014-07-25T03:06:30.000+0000 |
Description
with alloy 1.4 if i run
alloy compile --config platform=android
the code in the tss in the widget
Picker[platform=android]":{
left:"10dp",
right:"10dp"
}
is parsed into
$.__views.__alloyId7.add($.__views.dateLbl);
$.__views.picker = Ti.UI.createPicker({left:10dp,right:10dp,format24:false,calendarViewShown:false,id:"picker",top:40,type:Ti.UI.PICKER_TYPE_DATE_AND_TIME,}
);
(im using ti.ux templates)
This is caused by ALOY-1091.
Verified fixed: Titanium SDK 3.3.0 Alloy 1.4.1-rc CLI 3.3.0 Appcelerator Studio 3.3.0 Note: Sample code in the description is valid for reproducing the issue, however beware the Picker type="Ti.UI.PICKER_TYPE_DATE_AND_TIME" is not supported for Android.