{ "id": "133846", "key": "AC-1426", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-07-30T16:38:51.000+0000", "created": "2014-07-29T12:19:34.000+0000", "labels": [ "api", "ios", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "sscott", "key": "sscott", "displayName": "Steven Scott", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:51.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Run the code below and focus on textfield, the keyboard bringing up is not what I ask - a email keyboard....\r\n\r\n{code:title=index.js}\r\n$.index.open();\r\n{code}\r\n\r\n{code:title=index.tss}\r\n\"#input\":{\r\n\tright: 10,\r\n\twidth: 120,\r\n\ttop: 50,\r\n\tclearButtonMode: 1,\r\n\tborderStyle: Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n\ttextAlign: 'right',\r\n\tcolor: 'red',\r\n\tminimumFontSize: 8,\r\n\theight: 30,\r\n\tfont: {\r\n\t\tfontSize: 16,\r\n\t\tfontFamily: 'Arial',\r\n\t\tfontWeight: 'normal'\r\n\t},\r\n\tkeyboardType:\"KEYBOARD_EMAIL\" //NOT WORK\r\n} \r\n{code}\r\n\r\n{code:title=index.xml}\r\n\r\n \r\n \t\r\n \r\n\r\n{code}\r\n\r\nA side note, use the full name like Ti.UI.KEYBOARD_EMAIL works though.\r\nIt is a new feature since 1.4.0 but never try this on that version, fails on 1.4.1\r\nA regression?\r\n", "attachment": [], "flagged": false, "summary": "Alloy: Textfield keyboardType shorthands do not work in TSS", "creator": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jialhe85@gmail.com", "key": "jialhe85@gmail.com", "displayName": "David He", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Alloy 1.4.1\r\nSDK 3.3.0\r\niOS 7.1.1\r\niPAD Retina Simulator\r\n", "comment": { "comments": [ { "id": "316218", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~skypanther] FYI", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-29T22:22:55.000+0000", "updated": "2014-07-29T22:22:55.000+0000" }, { "id": "316315", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "The correct abbreviation to use is EMAIL (or email) not KEYBOARD_EMAIL. In my tests, using EMAIL works as expected.\r\n\r\nI checked [the docs|http://docs.appcelerator.com/titanium/latest/#!/guide/Alloy_XML_Markup-section-35621528_AlloyXMLMarkup-TextFieldKeyboardShorthands] and the release notes and at least in those two places we've documented this feature correctly. If you found another source that indicates you should be using the KEYBOARD_ portion, please add a comment and we'll reopen this as a docs ticket.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-07-30T16:38:51.000+0000", "updated": "2014-07-30T16:38:51.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }