Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Change TextField passwordMask dynamically

$
0
0

I'm trying change the TextField passwordMask attribute dynamically, but it works only one time (from true to false).

".password": {
    passwordMask:true
}
<TextField id="passwordSignup" class="password" hintText='Password' />
if($.passwordSignup.passwordMask == true) {
   $.passwordSignup.setPasswordMask(false);
} else {
   $.passwordSignup.setPasswordMask(true);
}

Application Type: Mobile Platform & version: iOS 6.1 Device: iOS simulator Titanium SDK: 3.1.1.GA


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>