{ "id": "62479", "key": "TIMOB-1847", "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": "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": "2019-10-31T18:01:33.000+0000", "created": "2011-04-15T03:03:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-10-31T18:01:34.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Code below shows this. Happens on iPhone and iPad:
\r\nvar win = Ti.UI.currentWindow;
\r\nvar input1 = Ti.UI.createTextField({
\r\nhintText:'e.g. 30000 ',\r\nheight:35,\r\nwidth:120,\r\nborderColor:'#000',
\r\n
\r\n// COMMENT OUT THIS LINE AND THE CLEAR BUTTON WILL SHOW
\r\n\r\npaddingRight:5,
\r\n
\r\n//END
\r\n\r\ntextAlign: 'right',\r\nfont:{fontSize:15},\r\ncolor:'#000',\r\nreturnKeyType:Titanium.UI.RETURNKEY_DONE,\r\nclearButtonMode:Titanium.UI.INPUT_BUTTONMODE_ONFOCUS,\r\nkeyboardType:Titanium.UI.KEYBOARD_NUMBERS_PUNCTUATION
\r\n
\r\n}); win.add(input1);