Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2444] Android: paswordMask:true on textfield not masking on HTC Sensation XL

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-01-25T18:10:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterJerod Fritz
AssigneeMauro Parra-Miranda
Created2012-11-07T14:53:58.000+0000
Updated2016-03-08T07:41:29.000+0000

Description

We've only had issues with the field not being masked on HTC Sensation XL, Android 4.0.3 (IceCream Sandwich) . The code used is:
var win = Ti.UI.createWindow({
	backgroundColor : "#000"
});

var field = Ti.UI.createTextField({
	keyboardType : Ti.UI.KEYBOARD_EMAIL,
	returnKeyType : Titanium.UI.RETURNKEY_DONE,
	passwordMask : true,
	top : 5,
	width : 250,
	height : 50,
	backgroundColor : "#FFF",
	color: "#000",
	paddingLeft : 5,
	font : {
		fontSize : 14
	}
});

win.add(field);
win.open();

Comments

  1. Daniel Sefton 2012-11-08

    Hi Jerod, I tested this on a 4.0.4 device and the password masks fine in the field itself. We noticed however that the auto correct functionality of android reveals the password above the keyboard when typing - is this what you meant? If you really meant the field, can you try the code I updated in your description and post a screenshot? If the field is unmasked, I will proceed to try 4.0.3 as well. Thanks.
  2. Daniel Sefton 2012-11-08

    Also please state your TiSDK version.
  3. Daniel Sefton 2013-01-25

    I've set this to resolved so that the issue can now be edited to provide more info. Thanks, Daniel

JSON Source