jquery.formance
jquery.formance copied to clipboard
Error thrown on pasting into fields
I am testing the credit card validation. When I paste into the demo provided, the code throws the error
Uncaught TypeError: Object #<Object> has no method 'formatCardNumber'
thanks, I will look into it.
Just so you know...
I also noticed that pasting strings with more than 10 characters into phone number field causes an error:
Uncaught TypeError: Cannot read property '0' of null jquery.formance.min.js:1 reFormatPhoneNumber
In addition to what @prpetten found, if you type any characters after 10 characters you also get the 'Uncaught TypeError: Cannot read property '0' of null jquery.formance.min.js:1'
Bump.. is this a totally given up on dead project?
No not given up. This issue is fixed in the revamp branch https://github.com/omarshammas/jquery.formance/tree/revamp but there are still a few failing tests that need to be resolved before it will merged in to master.
I'm just really busy right now, if you'd like to lend a hand pull requests are welcome!