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

keepCharPositions does not work if the value is auto-populated (from an api, date-picker, etc.) #1044

Open
derrick-p opened this issue Jul 16, 2021 · 0 comments

Comments

@derrick-p
Copy link

derrick-p commented Jul 16, 2021

If the user populates a react-text-mask input field from a date picker or it auto-populates from an api, keepCharPositions does not work correctly.

Here's code sandbox where you can see the issue: https://codesandbox.io/s/determined-saha-mmdxb?file=/src/App.js

Is there a way to get it to work after the page loads and then the value is auto-populated?

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

1 participant