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
restrictNumeric blocks pasting with Ctrl+V #79
Comments
Thanks for opening this issue — I'd love to accept a PR on qj for this fix. If you can't do it, I can probably take a look this weekend. |
@jessepollak I'm not going to work on a fix, sorry. I've decided to consolidate our own module instead of using yours. |
@jessepollak Please review PR #86 |
@jessepollak hi there. Can you review that PR above? Experiencing same issue in our project when using Safari and trying to insert card number with Cmd+V |
This was released in 2.4.0. If anyting from your PR is not in there please submit another one. |
restrictNumeric()
correctly checks fore.metaKey || e.ctrlKey
, but these are alwaysundefined
becauseQJ.normalizeEvent()
doesn't copy them from the original event.Relevant links to the code:
#57 is probably the same issue, since
formatCardNumber()
usesrestrictNumeric()
.The text was updated successfully, but these errors were encountered: