Masked Text Input
Is there any way to set a text input to masked?
Like the way you would input a wep key.
2 Answers
-
Accepted Answer
Hey John,
I don't see it in the documentation but textfield has a passwordMask property so just set it to true and it should do what you're after.
var tf1 = Ti.UI.createTextField({ autocapitalization:Titanium.UI.TEXT_AUTOCAPITALIZATION_NONE, width:300, borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED, passwordMask:true, hintText:'Enter your password' });
-
Thanks!