{ "id": "169787", "key": "TIMOB-25286", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-09-18T01:05:26.000+0000", "created": "2017-09-14T21:53:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-06T17:37:03.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5. Problem Description:\r\neditable property of Ti.UI.TextField is not working as expected. Even though editable property is applied to TextField, when user clicks on it, border color is updated to blue and background color is updated to white which makes it look like it is editable.\r\n\r\nh5. Steps to Reproduce:\r\nAttached the sample project\r\n1. Run the attached Alloy project TestTextFieldEditable\r\n2. index.js has a TextField with gray background\r\n3. Click anywhere else on the window, TextField will be visible with gray background.\r\n4. Click on TextField. This will turn the border color to blue and background color to White making the TextField look like it is editable.\r\n\r\nh5. Expected Behavior:\r\nTextField should look like it is not editable once we apply the editable property to it whenever we click anywhere on the screen.", "attachment": [ { "id": "63267", "filename": "index.js", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-09-14T21:53:20.000+0000", "size": 63, "mimeType": "application/javascript" }, { "id": "63268", "filename": "index.tss", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-09-14T21:53:11.000+0000", "size": 155, "mimeType": "application/octet-stream" }, { "id": "63269", "filename": "index.xml", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-09-14T21:52:57.000+0000", "size": 172, "mimeType": "text/xml" } ], "flagged": false, "summary": "Windows: editable property of Ti.UI.TextField does not work as expected", "creator": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "subtasks": [], "reporter": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "environment": "Operating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.15063\r\n Architecture = 64bit\r\n # CPUs = 6\r\n Memory = 12884365312\r\n\r\nNode.js\r\n Node.js Version = 6.11.2\r\n npm Version = 3.10.10\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n\r\nTitanium SDK\r\n SDK Version = 6.2.0.GA\r\n SDK Path = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.2.0.GA\r\n Target Platform = windows", "closedSprints": [ { "id": 948, "state": "closed", "name": "2017 Sprint 19 SDK", "startDate": "2017-09-10T21:24:51.562Z", "endDate": "2017-09-24T21:24:00.000Z", "completeDate": "2017-09-25T17:49:27.460Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "427985", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I would close this as Invalid, because this is a platform component behavior. We are using {{Xam.Controls.TextBox}} and I can see that its border turns blue when you focus on the control. It indicates that the component is focused, it does not indicate the text box is editable.\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-18T01:05:27.000+0000", "updated": "2017-09-18T01:05:27.000+0000" }, { "id": "428398", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~nmishra] In order to indicate the text box can not be used visually (including focus), you might want to use {{touchEnabled:false}} along with {{editable}} property.\r\n\r\n{code}\r\nvar textfield = Ti.UI.createTextField({\r\n width: Ti.UI.FILL,\r\n editable: false,\r\n touchEnabled: false\r\n});\r\n{code}\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-09-25T06:37:19.000+0000", "updated": "2017-09-25T06:37:19.000+0000" }, { "id": "428422", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "body": "Thank you [~kiguchi]", "updateAuthor": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-09-25T18:02:54.000+0000", "updated": "2017-09-25T18:02:54.000+0000" }, { "id": "439927", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:37:03.000+0000", "updated": "2018-08-06T17:37:03.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }