{ "id": "174094", "key": "TIMOB-27502", "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": null, "resolutiondate": null, "created": "2019-09-04T20:48:52.000+0000", "priority": null, "labels": [ "alloy", "android", "api", "engSchedule" ], "versions": [ { "id": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" }, { "id": "20884", "name": "Release 8.2.1", "archived": false, "released": true, "releaseDate": "2019-10-25" }, { "id": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" } ], "issuelinks": [], "assignee": null, "updated": "2019-10-28T20:46:04.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "Hello. Good afternoon.\r\n\r\nI noticed that when it is set in the tss file the property of touchEnabled with the value of false for a TextField, and then in the controller is modified that property to true, and after that I tried to click click on the TextField, but the keyboard it is not appearing in Android, but in iOS it is working fine.\r\n\r\nXML :\r\n{code:java}\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nJS:\r\n\r\n{code:java}\r\nfunction doClick(e) {\r\n\t\r\n\t$.txtText.applyProperties({\r\n \ttouchEnabled : true\r\n\t});\r\n \r\n\tTi.API.info(JSON.stringify($.txtText));\t\r\n};\r\n\r\n$.index.open();\r\n{code}\r\n\r\nTSS:\r\n\r\n{code:java}\r\n\".container\": {\r\n\tbackgroundColor:\"white\",\r\n\tlayout : \"vertical\"\r\n}\r\n\"Label\": {\r\n\twidth: Ti.UI.SIZE,\r\n\theight: Ti.UI.SIZE,\r\n\tcolor: \"#000\"\r\n}\r\n\"#label\": {\r\n\tfont: {\r\n\t\tfontSize: 12\r\n\t},\r\n\ttop : 50\r\n}\r\n\"#txtText\" : {\r\n\ttouchEnabled : false,\r\n\twidth : 200,\r\n\theight : 80,\r\n\tborderColor : \"red\"\r\n}\r\n{code}\r\n\r\nI think for now, I had to implement the property of editable as a workaround, but I need to use touchEnabled property.\r\n\r\nPlease let me know whether you have any doubt or question.\r\n\r\nThanks, and best,\r\nFrancisco Antonio Duran Ramirez.", "attachment": [], "flagged": false, "summary": "Android - touchEnabled on textField is not working - updating value in the controller - js", "creator": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with the following specs : \r\nAndroid: 9.1.0\r\nTitanium SDK : 8.1.1.GA\r\nAppceleraror CLI : 7.1.0\r\nAxway Appcelerator Studio, build: 5.1.3.201907112159", "comment": { "comments": [ { "id": "451302", "author": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello. Good afternoon.\r\n\r\nAny news on this?\r\n\r\nThanks, and best,\r\nFrancisco Antonio Duran Ramirez.", "updateAuthor": { "name": "antonioduran", "key": "antonioduran", "displayName": "Francisco Antonio Duran Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-11T17:07:12.000+0000", "updated": "2019-09-11T17:07:12.000+0000" }, { "id": "451305", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-09-11T18:33:12.000+0000", "updated": "2019-09-11T18:33:12.000+0000" }, { "id": "452142", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~antonioduran],\r\nCan you please test this issue on 8.2.0.GA and let us know the results?", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-10-20T10:11:14.000+0000", "updated": "2019-10-20T10:11:14.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }