Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1093] Picker: quotes removed from dimension properties with string values during parsing

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2014-07-21T16:27:02.000+0000
Affected Version/sAlloy 1.4.0
Fix Version/sAlloy 1.5.0
ComponentsXML
Labelsalloy, qe-testadded, tab
ReporterSamuele Coppede'
AssigneeTim Poulsen
Created2014-07-21T08:05:11.000+0000
Updated2014-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)

Comments

  1. Tim Poulsen 2014-07-21

    This is caused by ALOY-1091.
  2. Federico Casali 2014-07-25

    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.

JSON Source