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

No flip button when pasting credit card number #131

Open
hrdwdmrbl opened this issue Mar 16, 2014 · 1 comment
Open

No flip button when pasting credit card number #131

hrdwdmrbl opened this issue Mar 16, 2014 · 1 comment

Comments

@hrdwdmrbl
Copy link

Whenever I paste a credit card number, I am never able to flip the card over. The only work around is to go back to the card number, delete any character, and then enter the character again. After pressing a key, I am then able to turn the card over to the other side to be able to fill in the CVC.

I think you are listening for a keypress, keyup or keydown. I think you need to add a listener for the 'paste' event.

@hrdwdmrbl
Copy link
Author

I would give you a pull request, but I'm on a foreign machine right now. I think I've identified the code in question. Take a look at line 239 this._inputViews.number.bind("change valueChanged", function(e, input) {

I think you should add 'paste' to that bind command.

Awesome work on this project, BTW! I love it and use it.

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