{ "id": "117441", "key": "TIMOB-14615", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-01-20T18:26:51.000+0000", "created": "2013-07-22T10:10:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_textarea", "qe-testadded" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "38822", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "132671", "key": "TIDOC-1754", "fields": { "summary": "APIDoc: returnKeyType not supported with TextArea on Android", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34200", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "121330", "key": "TIMOB-15535", "fields": { "summary": "Android: TextArea won't go multiline", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-22T18:15:35.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": "h2. Problem description\r\nWhen setting returnKeyType on a TextArea, the default return type is shown anyway.\r\n\r\nh2. Steps to reproduce\r\nUse the following code to see the issue:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: \"black\"\r\n});\r\n\r\nvar txt = Ti.UI.createTextArea({\r\n\treturnKeyType: Ti.UI.RETURNKEY_SEARCH,\r\n\tleft: 10,\r\n\tright: 10,\r\n\ttop: 10,\r\n\theight: 300\r\n});\r\nwin.add(txt);\r\n\r\nwin.open();\r\n{code}\r\n\r\nh2. Note\r\nThis works in native, although you cannot go to other lines. To enable it, the element should have:\r\n\r\n{code}\r\nandroid:inputType=\"textImeMultiLine\"\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: returnKeyType not working with TextArea", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android 4.2\r\nSDK 3.1.0\r\nSDK 3.1.1", "comment": { "comments": [ { "id": "265070", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "PR:-\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4544", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-08-06T07:20:53.000+0000", "updated": "2013-08-06T07:20:53.000+0000" }, { "id": "274572", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with:\r\n\r\nAppc-Studio: 3.2.0.201310100354\r\nSdk:3.2.0.v20131009134844\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.0.3\r\nDevice:Google Nexus 7(v4.3),ipodTouch1(v7.0)\r\nXcode: 5\r\n\r\nreturnKeyType working for TextArea. Checked with type \"Ti.UI.RETURNKEY_SEARCH\"", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-10T10:11:45.000+0000", "updated": "2013-10-10T10:11:45.000+0000" }, { "id": "277297", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Another test case: \n\n{code}\nvar win = Ti.UI.createWindow({\n backgroundColor: \"black\"\n});\n \nvar txt = Ti.UI.createTextArea({\n autocapitalization: Ti.UI.TEXT_AUTOCAPITALIZATION_ALL,\n left: 10,\n right: 10,\n top: 10,\n height: 300\n});\nvar button = Ti.UI.createButton({title: 'toggle returnKeyType', height: '100dp', top: '200dp'});\n\nbutton.addEventListener('click', function(e) {\n txt.returnKeyType = Ti.UI.RETURNKEY_SEARCH;\n});\nwin.add(txt);\nwin.add(button);\n \nwin.open();\n{code}\n\nWhich was fixed by https://github.com/appcelerator/titanium_mobile/pull/4825", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-30T00:11:51.000+0000", "updated": "2013-10-30T00:11:51.000+0000" }, { "id": "287710", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopen the ticket since this fix is reverted (https://github.com/appcelerator/titanium_mobile/pull/5202, https://github.com/appcelerator/titanium_mobile/pull/5208).", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-10T21:38:27.000+0000", "updated": "2014-01-10T21:57:01.000+0000" }, { "id": "288850", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This behavior change caused a lot of complaints in the community, so we've reverted the behavior. If a user wishes to have this back again, they will need to re-add the code we've removed in a custom build of the SDK.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-20T18:26:38.000+0000", "updated": "2014-01-20T18:26:38.000+0000" }, { "id": "311780", "author": { "name": "bogdansmc", "key": "bogdansmc", "displayName": "Bogdan Pankiv", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Why don't you update your documentation that returnKeyType doesn't work with TextArea in android?\r\nhttp://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.TextArea - here we can see that this property is supported in Android. But this is fake!", "updateAuthor": { "name": "bogdansmc", "key": "bogdansmc", "displayName": "Bogdan Pankiv", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2014-07-01T09:45:49.000+0000", "updated": "2014-07-01T09:45:49.000+0000" }, { "id": "312463", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~bhatfield] Can you please update the docs?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-06T20:39:20.000+0000", "updated": "2014-07-06T20:39:20.000+0000" }, { "id": "341559", "author": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "body": "[~ingo] The docs have still not been updated on this I am sure this could and should have been achieved in the last 7 months time. The ticket is marked as closed so guessing this has fallen through the cracks.", "updateAuthor": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "created": "2015-01-31T08:21:08.000+0000", "updated": "2015-01-31T08:21:08.000+0000" }, { "id": "349879", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~core13], actually, this should have been addressed by TIDOC-1754.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-16T20:45:21.000+0000", "updated": "2015-04-16T20:45:39.000+0000" }, { "id": "414848", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix and with reference to the above comments. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T18:15:35.000+0000", "updated": "2017-03-22T18:15:35.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }