[TIMOB-23120] Windows: picker 'change' event not working from .xml
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | change, picker |
| Reporter | Zakhar Zhuravlev |
| Assignee | Unknown |
| Created | 2016-03-28T11:52:23.000+0000 |
| Updated | 2018-02-28T19:55:27.000+0000 |
Description
Affects 5.2.0
Okay, I provide sample code:
*index.js:*
{noformat}
It's not working!
$.picker.add(_.map(['1', '2', '3'], function(value){
return Ti.UI.createPickerRow({title: value});
}));
function onChangePicker() {
alert('picker changed');
}
$.win.open();
*index.xml:*
{noformat}
No comments