Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot erase all content of KeyboardInputField which ContentType is set to password #1979

Closed
Vangaorth opened this issue Apr 18, 2018 · 2 comments

Comments

@Vangaorth
Copy link

Overview

The 'KeyboardTest' scene inside any Examples package has everything already set up, you just have to switch the "ContentType" of one of its KeyboardInputField to 'Password' . Otherwise, create a new scene with MixedRealityCameraParent prefab, DefaultCursor, Input Manager prefab, MixedRealityToolkit Keyboard prefab, a main canvas with a child InputField which script has been replaced by a KeyboardInputField component, which 'text' property has been filled with some short single line text and which 'ContentType' property has been set to 'Password'.

Expected Behavior

When deleting the text of an KeyboardInputField with the 'ContentType' set to 'Password', using the MRT Keyboard, every character in the KeyboardInputField should be erasable until the placeholder appears (please note that the problem affects the KeyboardInputField, not the InputField of the MRT Keyboard).

Actual Behavior

Even if the InputField of the MRT Keyboard can erase all of its textual content, the KeyboardInputField always leaves one character, preventing the placeholder to appear.

Steps to reproduce

Use this repo

Otherwise, create a new project, switch to Universal Windows Platform, create a new scene, import an MixedRealityToolkit >= 2017.2.1.0, import the relative 'Example' unity package (found on the releases page), open the KeyboardTest scene, search for the email input field, fill the 'text' property of its 'KeyboardInputField' with some short text and set its 'ContentType' property to 'Password'. From MixedRealityToolkit menu, select Configure -> Apply MR Project Settings -> Apply, add the scene to the built scenes, build and deploy. On Hololens, tap the GameObject containing the KeyboardInputField and delete every single character until the InputField of the MRT Keyboard is empty (but the KeyboardInputField is not).

Unity Editor Version

2017.2.1p2

Mixed Reality Toolkit Release Version

2017.2.1.4 Release Candidate 2 but the problem is in every MRT version starting from MixedRealityToolkit for Unity 2017.2.1f1 (included).

@david-c-kline
Copy link

This feels related to #917

@david-c-kline
Copy link

This was released in the 2017.4.0.0 release candidate

2017.4.0.0 automation moved this from In progress to Done May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
2017.4.0.0
  
Done
Development

No branches or pull requests

2 participants