{ "id": "118191", "key": "TIMOB-14799", "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": "2015-09-01T21:55:40.000+0000", "created": "2013-08-09T12:58:52.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "password", "textfield" ], "versions": [ { "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" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-22T23:04:04.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": "*Problem*\r\nOn iOS textfields are cleared by default after some password field had the focus. Is this something that could be prevented. I looked at the docs for textfields, but either I cannot find it or it just isn't there.\r\n\r\n*Example code to reproduce*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar tf1 = Ti.UI.createTextField({\r\n\tvalue : \"textfield1\",\r\n\tpasswordMask : true,\r\n\ttop : 10,\r\n\twidth : 200\r\n});\r\nwin.add(tf1);\r\n\r\nvar tf2 = Ti.UI.createTextField({\r\n\tvalue : \"textfield2\",\r\n\ttop : 80,\r\n\twidth: 200\r\n});\r\nwin.add(tf2);\r\n\r\nwin.open();\r\n{code}\r\n\r\n*Steps to reproduce*\r\n1. click in the password field\r\n2. click in the \"normal\" textfield\r\n3. press backspace\r\n\r\n*Expected result*\r\nThe last character of the textfield is deleted\r\n\r\n*Actual result*\r\nThe entire contents of the textfield is now cleared instead of only the last character.", "attachment": [], "flagged": false, "summary": "iOS: Prevent clearing TextField after password field had focus", "creator": { "name": "mindwarp", "key": "mindwarp", "displayName": "Mindwarp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mindwarp", "key": "mindwarp", "displayName": "Mindwarp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.0.x and 3.1.x\r\niOS: 5 and 6", "closedSprints": [ { "id": 481, "state": "closed", "name": "2015 Sprint 18 SDK", "startDate": "2015-08-29T00:30:25.440Z", "endDate": "2015-09-12T00:30:00.000Z", "completeDate": "2015-09-14T05:24:05.135Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "265757", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.1.1 GA and latest 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-09T18:24:52.000+0000", "updated": "2013-08-09T18:24:52.000+0000" }, { "id": "318385", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue Cannot reproduce \r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\nTitanium SDK version 3.3.0.GA \r\niOS SDK: 7.1 \r\niOS iPhone Simulator: 7.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-13T06:20:36.000+0000", "updated": "2014-08-13T06:20:36.000+0000" }, { "id": "318468", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~shameerj] and [~sunila]. We should test this in 3.2.0 and 3.4.0 (latest master).\r\n\r\n* If it cannot be reproduced in 3.2.0, then mark as Can't Reproduce, with no fix version\r\n* If it can be reproduced in 3.2.0 but not in 3.4.0, mark as Fixed in 3.4.0\r\n\r\nReopening.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-13T16:51:50.000+0000", "updated": "2014-08-13T16:51:50.000+0000" }, { "id": "318662", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I see no justification this should have ben re-resolved. See my comments above, follow those instructions, and then report your updated findings.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-14T16:11:09.000+0000", "updated": "2014-08-14T16:11:09.000+0000" }, { "id": "361937", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~ingo] [~cng]: Checked the issue and created a native project to see the native behaviour and it's the same. Can close this as \"Won't fix\".", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-01T14:56:25.000+0000", "updated": "2015-09-01T14:56:25.000+0000" }, { "id": "361990", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The issue is a native iOS-behaviour and no Ti-related bug. Closing", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-09-01T21:55:40.000+0000", "updated": "2015-09-01T21:55:40.000+0000" }, { "id": "415206", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T23:04:04.000+0000", "updated": "2017-03-22T23:04:04.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }