{ "id": "173217", "key": "TIMOB-26913", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" }, { "id": "21212", "description": "", "name": "Release 9.3.3", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-05-18T18:20:20.000+0000", "created": "2019-03-19T08:49:59.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ListView", "SearchBar", "engSchedule", "iOS" ], "versions": [ { "id": "20972", "description": "", "name": "Release 8.3.1", "archived": false, "released": true, "releaseDate": "2020-01-17" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-05-18T18:20:23.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When using custom item templates in listviews, the {{showSearchBarInNavBar}} property does not work:\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({ title: 'Sub Window' });\r\nvar nav = Ti.UI.createNavigationWindow({ window: win });\r\nvar search = Ti.UI.createSearchBar();\r\n\r\nvar myTemplate = {\r\n childTemplates: [\r\n {\r\n type: 'Ti.UI.Label',\r\n bindId: 'label',\r\n properties: {\r\n color: 'green',\r\n left: 30\r\n }\r\n }\r\n ]\r\n};\r\n\r\nvar listView = Ti.UI.createListView({ searchView: search, templates: { 'default': myTemplate }, defaultItemTemplate: 'default', showSearchBarInNavBar: true });\r\nlistView.sections = [\r\n Ti.UI.createListSection({\r\n items: [\r\n {\r\n properties: {\r\n height: 43\r\n },\r\n label: {\r\n text: 'Hello world!'\r\n }\r\n }\r\n ]\r\n })\r\n];\r\nwin.add(listView);\r\nnav.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: New SearchBar property \"showSearchBarInNavBar\" does not work with custom item templates", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1217, "state": "closed", "name": "2021 Sprint 4", "startDate": "2021-02-16T00:52:00.000Z", "endDate": "2021-02-27T00:52:00.000Z", "completeDate": "2021-02-28T18:56:28.465Z", "originBoardId": 114 }, { "id": 1224, "state": "closed", "name": "2021 Sprint 10", "startDate": "2021-05-17T16:31:32.484Z", "endDate": "2021-05-28T16:31:00.000Z", "completeDate": "2021-05-28T22:15:02.543Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "449116", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Is there a progress on this [~vijaysingh]? I hope you guys can reproduce it.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-06-16T14:55:16.000+0000", "updated": "2019-06-16T14:55:16.000+0000" }, { "id": "452900", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Any update? This needs to be escalated - it doesn't even work for built-in templates anymore.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-11-24T16:11:05.000+0000", "updated": "2019-11-24T16:12:13.000+0000" }, { "id": "457681", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "One year later and this is still open. Can someone please verify this?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-11-23T10:09:48.000+0000", "updated": "2020-11-23T10:09:48.000+0000" }, { "id": "457756", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "doing some pressure here. I think this should be addressed as it's a huge UI bug", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-12-02T09:37:07.000+0000", "updated": "2020-12-02T09:37:07.000+0000" }, { "id": "457804", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "It's likely just a small adjustment. Maybe I can try to take a look in January.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-12-04T19:49:19.000+0000", "updated": "2020-12-04T19:49:19.000+0000" }, { "id": "458271", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "What do you mean? I reported the ticket - but it is stale and has not been assigned to a developer so far.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-02-19T13:43:22.000+0000", "updated": "2021-02-19T13:43:22.000+0000" }, { "id": "458281", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "You said you'd take a look in January, just wondering if you had done so", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2021-02-19T15:06:27.000+0000", "updated": "2021-02-19T15:06:44.000+0000" }, { "id": "458282", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Oh okay, sorry! No I haven't has the chance to.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2021-02-19T15:11:54.000+0000", "updated": "2021-02-19T15:11:54.000+0000" }, { "id": "458283", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel], I'll assign it.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-19T17:17:53.000+0000", "updated": "2021-02-19T17:17:53.000+0000" }, { "id": "458284", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/12486", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-19T23:32:38.000+0000", "updated": "2021-02-19T23:32:38.000+0000" }, { "id": "458297", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-23T16:04:59.000+0000", "updated": "2021-02-23T16:04:59.000+0000" }, { "id": "458304", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 10.0.0 target, backport merged to 9_3_X branch as well.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-02-24T15:58:01.000+0000", "updated": "2021-02-24T15:58:01.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }