{ "id": "60715", "key": "TIMOB-83", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:51:55.000+0000", "created": "2011-04-15T02:23:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:51:55.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": "{html}

For textArea objects, the event listener below doesn't blur on\nreturn, but inserts a newline.
\nAlso, the borderStyle property doesn't round the corners.

\n
\nvar tfield = Titanium.UI.createTextArea({\n    id:'text_field',\n    returnKeyType:Titanium.UI.RETURNKEY_DEFAULT,\n    enableReturnKey:true,\n    keyboardType:Titanium.UI.KEYBOARD_ASCII,\n            borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,\n});\ntfield.addEventListener('return',function(e){\n    tfield.blur();\n});\n
{html}", "attachment": [], "flagged": false, "summary": "textArea issues", "creator": { "name": "samir", "key": "samir", "displayName": "Samir", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "samir", "key": "samir", "displayName": "Samir", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "122745", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The borderstyle of rounded only happens on textField, not on\ntextArea. (I don't know why, either. It's something that the\niPhoneOS designers chose.) To simulate rounding, have rounded\nborders outside of the text area.

\n

Leaving as open in order to allow for both 'newline' editing\nfunctionality in textAreas as well as return events.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:23:28.000+0000", "updated": "2011-04-15T02:23:28.000+0000" }, { "id": "122746", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The textarea newline functionality has been long implemented by\nnow. Closing.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:23:28.000+0000", "updated": "2011-04-15T02:23:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }