{ "id": "171555", "key": "ALOY-1613", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2018-09-06T22:13:15.000+0000", "created": "2018-04-22T14:11:57.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2019-01-02T19:13:56.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Can't use data binding on iOS picker like the Android picker!\r\n{code:title=example.xml|borderStyle=solid}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n{code:title=example.js|borderStyle=solid}\r\nAlloy.Collections.citiesAPI.fetch();\r\n{code}", "attachment": [ { "id": "65501", "filename": "Phone 7 Plus - 2018-09-06.png", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2018-09-06T22:12:53.000+0000", "size": 76579, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Picker data binding dosen't work", "creator": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "subtasks": [], "reporter": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "environment": null, "closedSprints": [ { "id": 1071, "state": "closed", "name": "2018 Sprint 18 Tooling", "startDate": "2018-08-26T16:10:36.679Z", "endDate": "2018-09-09T16:10:00.000Z", "completeDate": "2018-09-11T21:05:41.010Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "437062", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please provide a full reproducible core that regenerates the issue. Perhaps with a sample project that we can use to test the issue. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-04-22T22:55:26.000+0000", "updated": "2018-04-22T22:55:26.000+0000" }, { "id": "441398", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Attached a screenshot of the UI, collection binding works as expected.\r\nPlease reopen with a reproducible app if you are still having the issue.\r\n \r\n{code}\r\n\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2018-09-06T22:12:29.000+0000", "updated": "2018-09-06T22:12:29.000+0000" }, { "id": "444926", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "body": "The picker data doesn't change when data is fetched after the picker rendered. you should get the data first then you've to create a picker and put the data in.\r\nSo the trick is call {code:javascript}`$.color_picker.reloadColumn($.color_picker.columns[0]);{code} after fetching success \r\n\r\n You've to test that with a real HTTP request, not with local data.", "updateAuthor": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2019-01-02T19:12:28.000+0000", "updated": "2019-01-02T19:13:56.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }