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

Problems with copy paste values #99

Open
andrew-aladev opened this issue Dec 13, 2019 · 1 comment
Open

Problems with copy paste values #99

andrew-aladev opened this issue Dec 13, 2019 · 1 comment

Comments

@andrew-aladev
Copy link

We want to copy 100 into currency input - it becomes 1.00, 100.00 becomes 100.00, wrong behaviour. We need to protect user from removing . in another way. Currency input should use manual onKey* and onPaste events instead of just onChange.

@ericblade
Copy link

This sounds like reading the mind of the user, rather than having defined behavior. If I paste 1952, do I want 19.52 or 1952.00 ?

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