{ "id": "86272", "key": "TIMOB-7590", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-07T22:56:33.000+0000", "created": "2012-02-09T11:44:20.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity" ], "versions": [ { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-07T22:56:33.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Expected behavior: Cancel button will appear during typing, as happens on iOS.\r\nActual behavior: Cancel button doesn't appear on Android, and does on iOS\r\n\r\nPerhaps this is an iOS issue that it's not supposed to be showing the cancel button during typing? With showCancel:true the button is always there on both platforms. I cannot tell from the API docs what the actual expected behavior is supposed to be. Either way, behavior doesn't match across platforms.\r\n\r\n{code}\r\nfunction makeRow() {\r\n\t// generate random string of digits and capital English letters\r\n\t// see http://en.wikipedia.org/wiki/Base_36\r\n\treturn Ti.UI.createTableViewRow({\r\n\t\ttitle: Math.random().toString(36).substring(7)\r\n\t});\r\n}\r\nvar searchbar = Ti.UI.createSearchBar({\r\n\tbarColor: '#385292',\r\n\tshowCancel: false\r\n});\r\nvar tbl = Ti.UI.createTableView({\r\n\tsearch: searchbar\r\n});\r\nvar data = [];\r\nfor(var i=0; i<100; i++) {\r\n\tdata.push(makeRow());\r\n}\r\ntbl.data = data;\r\n{code}\r\n\r\n", "attachment": [ { "id": "25694", "filename": "Screen Shot 2012-02-09 at 2.35.14 PM.png", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2012-02-09T11:44:20.000+0000", "size": 193587, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: TableView: Cancel button doesn't show up during entry as it does on iOS with showCancel:false", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "182634", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Updated description", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2012-02-09T13:45:19.000+0000", "updated": "2012-02-09T13:45:19.000+0000" }, { "id": "421327", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-07T22:56:33.000+0000", "updated": "2017-06-07T22:56:33.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }