[TIMOB-3365] iOS: Cannot set an empty array for the picker rows
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-08T22:43:31.000+0000 |
Affected Version/s | Release 1.6.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Balint Erdi |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T03:43:19.000+0000 |
Updated | 2017-06-08T22:43:31.000+0000 |
Description
The below code snippet dies a horrible death:
var rows = [];
var picker = Ti.UI.createPicker();
picker.add(rows);
I think it should be possible to set an empty array as the rows. I realize it does not make too much sense but one could e.g add rows later to the picker. It's unexpected that the application crashes, in my opinion.
Closing ticket as there has been no input for the last 6 years. Any problems, please file a new ticket.