How do I reset the value of a NGUI UIInput control that marked Is Password. If I set .text to "" I still see a bunch of ************** rather than the .defaultText.
Basically if the user types the wrong password during login, I want to clear the field and have is display the default text again.
Update
If I click into the field and back out, the default text shows, but until I do that I get the **********.
Code:
// Show the Create dialog
public void ShowCreate() {
panelWait.gameObject.SetActive(false);
panelLogin.gameObject.SetActive(false);
panelCreate.gameObject.SetActive(true);
username = loginUsername.text;
createUsername.text = username;
createPasswordA.text = "";
createPasswordB.text = "";
}
Image:
