When I change the field
UIInput.inputType at runtime, it does't update the label text.
To update the label I need to do something like this:
inputPassword.inputType = show ? UIInput.InputType.Standard : UIInput.InputType.Password;
string v = inputPassword.value;
inputPassword.value = v.Length == 0 ? " " : "";
inputPassword.value = v;
Better solution for this could be making the method
UIInput.UpdateLabel() public or replacing the field UIInput.inputType with a propertie.