Details
Description
Steps to reproduce
1. Create a Picker with 2 columns
2. PickerRow title set to "0" in XML (or "1", "2", etc)
3. App crashes immediately
Setting the PickerRow title to "0" in the controller js works fine. Android either method works fine.
index.xml
<Alloy> |
<Window class="container"> |
<View top="10" layout="vertical" height="Ti.UI.SIZE" width="Ti.UI.FILL"> |
<Label color="white">How Much To Add?</Label> |
<Picker id="timeAmount" useSpinner="true"> |
<PickerColumn id="hours" width="50%"> |
<PickerRow title="0"/> |
<PickerRow title="1"/> |
<PickerRow title="2"/> |
<PickerRow title="3"/> |
<PickerRow title="4"/> |
</PickerColumn> |
<PickerColumn id="min" width="50%"> |
<PickerRow title=".00"/> |
<PickerRow title=".25"/> |
<PickerRow title=".50"/> |
<PickerRow title=".75"/> |
</PickerColumn> |
</Picker> |
</View> |
</Window> |
</Alloy> |
index.js
$.index.open();
Attachments
Issue Links
- is duplicated by
-
AC-3502 Ui.Picker broken in new alloy in Ti 5.2.1
- Resolved
- relates to
-
ALOY-1355 Alloy doesn't cast "true"/"false" attributes as booleans
-
- Resolved
-
-
TIMOB-23195 iOS: Add validation to PickerRow.title
-
- Closed
-