{ "id": "124886", "key": "ALOY-927", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" }, { "id": "15904", "description": "2014 Sprint 08", "name": "2014 Sprint 08", "archived": true, "released": true, "releaseDate": "2014-04-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-25T16:46:30.000+0000", "created": "2014-01-16T20:42:35.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "alloy", "notable", "qe-manualtest" ], "versions": [], "issuelinks": [ { "id": "37993", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "131069", "key": "TISTUD-6582", "fields": { "summary": "Update content assist to support shorthand notation for keyboard and return key types", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-08-05T10:00:04.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": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" }, { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "As a developer, I'd like to be able to enter shortcut strings when declaring TextFields in XML or styling them in TSS. For example:\r\n\r\n{code}\r\n\r\n{code}\r\n\r\n{code}\r\n\"#txt\": { \r\n keyboardType: \"DECIMAL_PAD\",\r\n returnKeyType: \"DONE\"\r\n}\r\n{code}\r\n\r\nThis is done for SystemButtonType constants (see code in parsers/Ti.UI.Button.js)\r\n\r\nAll keyboardType constants begin with Ti.UI.KEYBOARD_\r\n\r\nAll returnKeyType constants begin with Ti.UI.RETURNKEY_\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "TextField: Support keyboard and return key type shortcuts strings in XML and TSS definitions", "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": "302527", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR: https://github.com/appcelerator/alloy/pull/375\r\n\r\nFunctional test: Run the included test app. Hint text in the text fields describe they keyboard and return key type you should get when the field is focused. The text area should have the numbers_punctuation type with autocapitalization set to all (have to type on the soft keyboard to have that work).", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-04-25T16:42:36.000+0000", "updated": "2014-04-25T16:42:36.000+0000" }, { "id": "302528", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Note for docs: in the TSS, the shortcuts must be entered as strings. Use the last portion of the property value (upper- or lowercase is fine) as the short-hand notation. For example, for keyboardType = Ti.UI.KEYBOARD_NUMBERS_PUNCTUATION, use \"numbers_punctuation\" or \"NUMBERS_PUNCTUATION\" or \"Numbers_Punctuation\" etc.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-04-25T16:46:12.000+0000", "updated": "2014-04-25T16:46:12.000+0000" }, { "id": "304163", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the FIXED with:\r\nAppc-Studio:3.3.0.201405080918\r\nsdk:3.3.0.v20140508135704\r\nacs:1.0.14\r\nalloy:1.4.0-dev\r\nnpm:1.3.2\r\ntitanium:3.3.0-dev\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nDevice:Iphone5s(v7.1.1),Nexus7(v4.4.2)\r\n\r\nAll the types of keyboard shortcuts are working fine.\r\nHence closing the issue.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-09T07:01:27.000+0000", "updated": "2014-05-09T07:01:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }