Author Topic: UIInput show password in plain text after deselect  (Read 5474 times)

jnbt

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
UIInput show password in plain text after deselect
« on: October 29, 2013, 10:45:08 AM »
While typing data into UIInput in password mode the input is substituted with "*" correctly.

But on deselection (e.g. clicking outside the UIInput element) the entered password is displayed in plain text.

I think this is a bug, or am I missing a point?

I've fixed this issue by hacking a "UpdateLabel();" at the end of "protected void OnDeselectEvent ()"



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput show password in plain text after deselect
« Reply #1 on: October 29, 2013, 04:47:56 PM »
In which version of NGUI? It works properly in 3.0.3e. Password is never displayed in plain text.

jnbt

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: UIInput show password in plain text after deselect
« Reply #2 on: October 30, 2013, 04:16:14 AM »
I have this problem in 3.0.3d. I cannot test it with 3.0.3e as I have a hard deadline at the moment.

Darkmax

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 93
    • View Profile
Re: UIInput show password in plain text after deselect
« Reply #3 on: October 30, 2013, 05:17:41 PM »
I test this on 3.0.3e and I'm also having this problem, when the user deselect the uiinput before hitting enter on the keyboard, the password is revealed.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput show password in plain text after deselect
« Reply #4 on: October 31, 2013, 06:55:25 PM »
Can you provide some more details on this? Everything is working as expected for me when I just create a label and add a UIInput to it. What is the setup like?

Darkmax

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 93
    • View Profile
Re: UIInput show password in plain text after deselect
« Reply #5 on: October 31, 2013, 07:23:32 PM »
I'm doing the same thing, I create a label, assign the dynamic font then add ui input component, and then assigning the label to the input and finally attach a collider, that my input setup.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput show password in plain text after deselect
« Reply #6 on: November 01, 2013, 07:29:25 AM »
Found the issue, will be fixed in the next update.