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

SecureTextEntry asterisk behavior #488

Open
btoueg opened this issue May 28, 2018 · 3 comments
Open

SecureTextEntry asterisk behavior #488

btoueg opened this issue May 28, 2018 · 3 comments

Comments

@btoueg
Copy link

btoueg commented May 28, 2018

Version

Secure text entry instantly replace characters with asterisk instead of showing clear text for a few seconds.

  • tcomb-form-native v0.6.13
  • react-native v0.55.4

Expected behaviour

untitled 1

Actual behaviour

untitled

Steps to reproduce

  1. react-native-init
  2. copy/paste https://github.com/gcanti/tcomb-form-native#example
  3. add
var options = {
  fields: {
    surname: {
      secureTextEntry: true,
    }
  }
}; // optional rendering options (see documentation)
@catherinetcai
Copy link

I think that's honestly something that's a part of default React Native behavior.

All the tcomb textbox component does is wrap a TextInput from React Native, see:

secureTextEntry={locals.secureTextEntry}

@btoueg
Copy link
Author

btoueg commented Jun 8, 2018

I've tested vanilla ReactNative text inputs, and it works properly.
I've tested tcomb-form native test project, and it fails. See repro.

When you say "I think that's honestly something that's a part of default React Native behavior." do you have some facts to back that up?

@Moreno97
Copy link
Contributor

@btoueg tested on RN 0.57 and is working properly. Try with that version and recent tcomb-form-native versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants