{ "id": "61509", "key": "TIMOB-877", "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": [ { "id": "13417", "description": "Sprint 2012-13 API", "name": "Sprint 2012-13 API", "archived": true, "released": true, "releaseDate": "2012-07-01" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-19T10:59:49.000+0000", "created": "2011-04-15T02:38:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "module_textfield", "parity", "qe-testadded", "triage" ], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" }, { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "18038", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "92541", "key": "TIMOB-9308", "fields": { "summary": "iOS: Editable property not respected for a TextField", "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": "19049", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "62671", "key": "TIMOB-2039", "fields": { "summary": "TextField.enabled and TextField.editable don't work", "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": "Trivial", "id": "5" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-07T05:31:06.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}

Here's an app.js for a fail case: https://gist.github.com/d116232ef3ba72a4d26e\r\nI'm able to enter the field, get the keyboard and enter text. BTW,\r\nTextArea is okay.

{html}", "attachment": [], "flagged": false, "summary": "iOS: TextField editable:false not implemented", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "124247", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Bill ran across this while we were fixing an issue for a premium\naccount. It wasn't implemented on Android. It does work for\nTextArea on iPhone.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:38:21.000+0000", "updated": "2011-04-15T02:38:21.000+0000" }, { "id": "161952", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug Scrub: Valid. No test Case exists (Used Provided Code)\r\n\r\nTested On: \r\nMac OSX Lion \r\nTiMob Version: 1.7.2 \r\nTiStud Version: 1.0.2 \r\n\r\nDevices used: \r\niPhone 4.2.10", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-04T16:47:28.000+0000", "updated": "2011-08-04T16:47:28.000+0000" }, { "id": "179807", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Confirmed on iOS Simulator 5.0.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-01-18T16:29:43.000+0000", "updated": "2012-01-18T16:29:43.000+0000" }, { "id": "200752", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Code\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({\r\n backgroundColor:'#fff'\r\n});\r\n \r\nvar tf = Ti.UI.createTextField({\r\n borderColor:'black',\r\n borderWidth:1,\r\n width:200,\r\n height:40\r\n})\r\n \r\nvar b1 = Ti.UI.createButton({\r\n top:0,\r\n left:0,\r\n title:'Editable?'\r\n})\r\n \r\nb1.addEventListener('click',function(e){\r\n if(tf.editable == true)\r\n {\r\n alert('Editable true');\r\n }\r\n else\r\n {\r\n alert('Editable false');\r\n }\r\n})\r\n \r\nvar b2 = Ti.UI.createButton({\r\n top:0,\r\n right:0,\r\n title:'Toggle'\r\n})\r\n \r\nb2.addEventListener('click',function(e){\r\n var editable = tf.editable;\r\n tf.editable = !editable;\r\n})\r\n\r\nvar b3 = Ti.UI.createButton({\r\n bottom:0,\r\n left:0,\r\n title:'Enabled?'\r\n})\r\n \r\nb3.addEventListener('click',function(e){\r\n if(tf.enabled == true)\r\n {\r\n alert('Enabled true');\r\n }\r\n else\r\n {\r\n alert('Enabled false');\r\n }\r\n})\r\n \r\nvar b4 = Ti.UI.createButton({\r\n bottom:0,\r\n right:0,\r\n title:'Toggle'\r\n})\r\n \r\nb4.addEventListener('click',function(e){\r\n var editable = tf.enabled;\r\n tf.enabled = !editable;\r\n})\r\n \r\nwin1.add(b1);\r\nwin1.add(b2);\r\nwin1.add(b3);\r\nwin1.add(b4);\r\nwin1.add(tf);\r\n \r\nwin1.open();\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-28T10:36:19.000+0000", "updated": "2012-06-29T10:23:47.000+0000" }, { "id": "200968", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull merged.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-29T16:40:27.000+0000", "updated": "2012-06-29T16:40:27.000+0000" }, { "id": "214411", "author": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with :\r\nMobile sdk-2.2.0.v20120810080115\r\nTitanium Studio, build: 2.1.1.201207271312\r\nDevice:\r\niPhone 4\r\nIpad 5.1", "updateAuthor": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T13:26:45.000+0000", "updated": "2012-08-14T13:26:45.000+0000" }, { "id": "225512", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "Please re-open this. It is still happening for textfields on 2.1.3.GA\r\n\r\n\r\nSample code:\r\n\r\n{code:javascript}\r\nvar fBirthday = ui.text({\r\n\twidth: 280.5,\r\n\theight: 44,\r\n\tpaddingLeft: 95,\r\n\tbackgroundImage: \"img/signup/fBirthday.png\",\r\n\thintText: \"Selecionar...\",\r\n\tfont: {\r\n\t\tfontFamily: \"DINNeuGroBolCon\",\r\n\t\tfontSize: 17\r\n\t},\r\n\tcolor: \"#676767\",\r\n\teditable: false\r\n});\r\n\r\nwin.add(fBirthday);\r\n{code}\r\n\r\n\r\nEven after setting the editable directly or through setEditable to false, the field remains editable.\r\n\r\n{code:javascript}\r\nfBirthday.editable = false;\r\nfBirthday.setEditable(false);\r\n{code}\r\n\r\n\r\nthoughts?\r\n\r\n", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2012-10-30T14:25:00.000+0000", "updated": "2012-10-30T14:25:00.000+0000" }, { "id": "225518", "author": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "body": "I can confirm that the editable:false option is not working on a simple example:\n\n{code:javascript}\nvar tf = Ti.UI.createTextField({\n width: 280,\n height: 44,\n hintText: \"Selecionar...\",\n font: {\n fontFamily: \"Helvetica Neue\",\n fontSize: 18\n },\n color: \"#676767\",\n editable: false\n});\n\nvar w = Ti.UI.createWindow();\nw.add(tf);\n\nw.open();\n{code}", "updateAuthor": { "name": "kwhinnery", "key": "kwhinnery", "displayName": "Kevin Whinnery", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-30T14:44:28.000+0000", "updated": "2012-10-30T14:44:28.000+0000" }, { "id": "225527", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This was fixed in release 2.2.0, which means the fix is available off the 3.0.0 and master CI builds. This is not fixed in the 2_1_X branch so it is not fixed in the 2.1.3 GA release. And yes I have verified that this is indeed fixed in 3_0_X and master branches.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-30T16:45:03.000+0000", "updated": "2012-10-30T16:45:03.000+0000" }, { "id": "258519", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-19T10:58:54.000+0000", "updated": "2013-06-19T10:58:54.000+0000" }, { "id": "278588", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/4863\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-07T05:31:06.000+0000", "updated": "2013-11-07T05:31:06.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }