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

Would it be posible to show typed value for x time before obscuring text? #68

Open
nombrekeff opened this issue Nov 24, 2021 · 4 comments

Comments

@nombrekeff
Copy link

Hey there!

I was wondering if it would be possible to show the typed value for some amount of time before obscuring it? Similar to how regular TextFields handle obscured text.

Current behavior:

  1. PinPut with obscureText = '*'
  2. user types character
  3. character is obscured

Requested behavior:

  1. PinPut with obscureText = '*'
  2. user types a character
  3. character is shown for 1s
  4. Then it obscures itself

I think this could be a really good feature to have, maybe opt-in. This way the user can see if an incorrect character has been entered.

I wouldn't mind filing a PR if the feature is accepted, just let me know!

Cheers

@mathiasgodwin
Copy link

Has this been implemented yet?

@Tkko
Copy link
Owner

Tkko commented Apr 20, 2022

@mathiasgodwin Not yet 🤭 , PR's are welcomed

@dhruvanbhalara
Copy link

That functionality provided by TextFormField not by EditableText.

@nombrekeff
Copy link
Author

Yup, that's the case. Any idea on how we could implement this without much work? Or is it even possible with the current implementation? Could we change EditableText to TextFormField or TextField?

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

4 participants