Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

TextMesh Pro (Android) TextMesh Pro InputField is showing password on keyboard

Discussion in 'UGUI & TextMesh Pro' started by HNKMaster, Feb 28, 2018.

  1. HNKMaster

    HNKMaster

    Joined:
    Aug 31, 2012
    Posts:
    19
    I'm trying to do some password inputs on a Android app, but everytime I select an InputField with Password option, the Input Preview from the keyboard always shows what I'm writing. I tried the Secure Input Text example (found here), but it didn't work (Called it using the OnSelect event from the Input Field). Is there a way to fix that Input?
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    How does it behave with the normal UGUI Input Field?
     
  3. HNKMaster

    HNKMaster

    Joined:
    Aug 31, 2012
    Posts:
    19
    Same, so it's mostly an Unity issue. I tried the example here:

    Code (CSharp):
    1. TouchScreenKeyboard.Open("", TouchScreenKeyboardType.Default, false, false, true);
    Calling it during the OnSelect event of Inputfield, but it didn't work.
     
  4. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    I would suggest submitting a bug report on this. Please be sure to include a repro project and post the case # here afterwards.
     
  5. HNKMaster

    HNKMaster

    Joined:
    Aug 31, 2012
    Posts:
    19
    Sorry for the late reply. When I made this thread, I was working on 2017.1, but after upgrading to 2017.4.1, password text was fixed and now works as expected. Thanks everybody!
     
    Stephan_B likes this.