{ "id": "85723", "key": "AC-3159", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-02-03T13:18:26.000+0000", "created": "2012-01-31T03:39:37.000+0000", "labels": [ "tc-more-info" ], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:48:14.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h2. Problem\r\n\r\nI am having a window with two text fields added to it one for mobile number and other for pin (password masked )...when i click first text field.....it shows normal text. After clicking on password field when I click back for text field it shows password masked alphabets in it.Any clues whats wrong with the code or its a bug with in titanium !!\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\n\tvar windows1 = Ti.UI.createWindow({\r\n\t});\r\n\twindows1.orientationModes = [Titanium.UI.LANDSCAPE_LEFT];\r\n\r\n\tvar windows1_field = Titanium.UI.createTextField({\r\n\t\ttop : \"25%\",\r\n\t\twidth : '80%',\r\n\t\theight : '15%',\r\n\t\thintText : 'Enter Mobile Number',\r\n\t\tfont : {\r\n\t\t\tfontFamily : 'Arial'\r\n\t\t},\r\n\t\tkeyboardType : Titanium.UI.KEYBOARD_PHONE_PAD\r\n\t});\r\n\tvar windows1_pin = Titanium.UI.createTextField({\r\n\t\ttop : \"45%\",\r\n\t\twidth : '80%',\r\n\t\theight : '15%',\r\n\t\thintText : 'Enter Secret PIN',\r\n\t\tpasswordMask : true,\r\n\t\tfont : {\r\n\t\t\tfontFamily : 'Arial'\r\n\t\t},\r\n\t\tkeyboardType : Titanium.UI.KEYBOARD_PHONE_PAD\r\n\t});\r\n\tvar login_button = Titanium.UI.createButton({\r\n\t\ttitle : \"Go\",\r\n\t\ttop : \"65%\",\r\n\t\twidth : '35%',\r\n\t\theight : '15%'\r\n\t});\r\n\twindows1.add(windows1_field);\r\n\twindows1.add(windows1_pin);\r\n\twindows1.add(login_button);\r\n\twin1.open();\r\n\r\n{code}\r\n\r\nh2. Logs\r\n\r\n{code:lang=none|title=console}\r\nNO LOG OUTPUT\r\n{code}\r\n\r\nh2. Discussions\r\n\r\nhttp://developer.appcelerator.com/question/131364/password-mask-not-working-properly-#comment-112325", "attachment": [], "flagged": false, "summary": "Android: UI.TextField.passwordMask not working", "creator": { "name": "sahilgrover1988", "key": "sahilgrover1988", "displayName": "Sahil Grover", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sahilgrover1988", "key": "sahilgrover1988", "displayName": "Sahil Grover", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "tested on:\r\n\r\n* Titanium Studio, build: 1.0.6.201110251616\r\n* Android 2.3.3 & 2.3.5\r\n* device \r\n", "comment": { "comments": [ { "id": "181171", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket.\r\n\r\nIn order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist], and add any missing information. For the description field, you can use [this template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template] as a starting point (simply copy and paste it).\r\n\r\nFurthermore, we must be able to reproduce the issue in order to accept it, and so a test case must be included and run without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase] section.\r\n\r\nThanks in advance for your cooperation.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-31T04:46:59.000+0000", "updated": "2012-01-31T04:46:59.000+0000" }, { "id": "181174", "author": { "name": "sahilgrover1988", "key": "sahilgrover1988", "displayName": "Sahil Grover", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Paul Doswett I have updated all the stuff here.", "updateAuthor": { "name": "sahilgrover1988", "key": "sahilgrover1988", "displayName": "Sahil Grover", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-31T05:28:10.000+0000", "updated": "2012-01-31T05:28:10.000+0000" }, { "id": "181205", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thank you Sahil. Would you state the device make and model you have tested? If you have tested in the emulator, you can state that instead.\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-31T08:58:28.000+0000", "updated": "2012-01-31T08:58:28.000+0000" }, { "id": "181461", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Sahil, please state your device, in case it's relevant. What version of Titanium have you tested?\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-02T08:26:52.000+0000", "updated": "2012-02-02T08:26:52.000+0000" }, { "id": "181462", "author": { "name": "sahilgrover1988", "key": "sahilgrover1988", "displayName": "Sahil Grover", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@paul....hey i found the mistake. I was using passwordMask:'true' and working with passwordMask:true is working fine thnks. :)", "updateAuthor": { "name": "sahilgrover1988", "key": "sahilgrover1988", "displayName": "Sahil Grover", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-02T08:30:54.000+0000", "updated": "2012-02-02T08:30:54.000+0000" }, { "id": "181606", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "The error is interesting, as it is not in the test case. Anyway, thanks for updating me about this, Sahil. I will close it now.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-03T13:18:26.000+0000", "updated": "2012-02-03T13:18:26.000+0000" }, { "id": "181611", "author": { "name": "sahilgrover1988", "key": "sahilgrover1988", "displayName": "Sahil Grover", "active": true, "timeZone": "America/Los_Angeles" }, "body": "thnks for support Paul ....looking forward for new features and updates in TiTanium \") ", "updateAuthor": { "name": "sahilgrover1988", "key": "sahilgrover1988", "displayName": "Sahil Grover", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-03T13:40:52.000+0000", "updated": "2012-02-03T13:40:52.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }