{ "id": "95131", "key": "TIMOB-10020", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-07-18T11:39:22.000+0000", "created": "2012-07-13T15:13:13.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T21:28:41.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": "h3. Problem\r\n\r\nWhen the editable property is set to false, the text field can still be edited.\r\n\r\nh3. Code to reproduce\r\n\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'pink'\r\n});\r\nwin.open();\r\nvar textField = Ti.UI.createTextField({\r\n color: '#336699',\r\n height: 60,\r\n top: 10,\r\n left: 10,\r\n width: 250,\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n editable: false,\r\n value: 'hello'\r\n });\r\nwin.add(textField);\r\n{code}\r\n\r\nh3. Expected behavior\r\n\r\nText field can not be edited. ", "attachment": [], "flagged": false, "summary": "iOS: Textfields are editable even when editable is set to false.", "creator": { "name": "jkoett", "key": "jkoett", "displayName": "Joel Koett", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jkoett", "key": "jkoett", "displayName": "Joel Koett", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 2.1.0GA\r\niOS 5.0", "comment": { "comments": [ { "id": "203205", "author": { "name": "jkoett", "key": "jkoett", "displayName": "Joel Koett", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Current workaround: textField.addEventListener('focus', function(e) { e.source.blur(); });", "updateAuthor": { "name": "jkoett", "key": "jkoett", "displayName": "Joel Koett", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-13T15:13:35.000+0000", "updated": "2012-07-13T15:13:35.000+0000" }, { "id": "208355", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-877. ", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-18T11:39:22.000+0000", "updated": "2012-07-18T11:39:22.000+0000" }, { "id": "410579", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T21:28:41.000+0000", "updated": "2017-03-09T21:28:41.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }