I 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 !!
var windows1 = Ti.UI.createWindow({
});
windows1.orientationModes = [Titanium.UI.LANDSCAPE_LEFT];
var windows1_field = Titanium.UI.createTextField({
top : "25%",
width : '80%',
height : '15%',
hintText : 'Enter Mobile Number',
font : {
fontFamily : 'Arial'
},
keyboardType : Titanium.UI.KEYBOARD_PHONE_PAD
});
var windows1_pin = Titanium.UI.createTextField({
top : "45%",
width : '80%',
height : '15%',
hintText : 'Enter Secret PIN',
passwordMask : true,
font : {
fontFamily : 'Arial'
},
keyboardType : Titanium.UI.KEYBOARD_PHONE_PAD
});
var login_button = Titanium.UI.createButton({
title : "Go",
top : "65%",
width : '35%',
height : '15%'
});
windows1.add(windows1_field);
windows1.add(windows1_pin);
windows1.add(login_button);
win1.open();
Thanks for raising this ticket. In 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). Furthermore, 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. Thanks in advance for your cooperation. Cheers
@Paul Doswett I have updated all the stuff here.
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. Thanks
Sahil, please state your device, in case it's relevant. What version of Titanium have you tested? Thanks
@paul....hey i found the mistake. I was using passwordMask:'true' and working with passwordMask:true is working fine thnks. :)
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.
thnks for support Paul ....looking forward for new features and updates in TiTanium ")