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

dynamically changing secureTextEntry raises error #260

Open
karranb opened this issue Feb 10, 2022 · 1 comment
Open

dynamically changing secureTextEntry raises error #260

karranb opened this issue Feb 10, 2022 · 1 comment

Comments

@karranb
Copy link

karranb commented Feb 10, 2022

While having a masked input filled and with the secureTextEntry flag active, if the secureTextEntry flag is turned to false dynamically, android devices raises setSpan(6 ... 6) ends beyond length 5 error. The numbers in the error message vary depending on the chars on the field. It looks like onChange events are triggered with the unmasked value right prior to the error.

This error does not happen on iOS devices.

@johhansantana
Copy link

did you ever found a fix for this?

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

2 participants