Pawel Decowski

Results 16 comments of Pawel Decowski

Any update on this? I’m also trying to use this library with Angular 12 but it won’t install due to dependency issues.

Very good point. The behaviour will be changed in a future version. It will return `null` if the card number matches more than one card.

Another option is to return a list of cards that match, instead of `null`. That way you could, for example, highlight both Visa and Visa Electron until it’s clear which...

Actually, this can’t be done without introducing breaking changes. For example, cards starting with `50` are Maestro cards. But cards starting with `5019` are Dankort. As you can see all...

You don’t need to remove spaces. The plugin [normalizes the number by removing spaces and dashes](https://github.com/PawelDecowski/jquery-creditcardvalidator/blob/master/jquery.creditCardValidator.coffee#L153). I have no idea why it doesn’t work with bootstrap-inputmask. First thing that comes...

Sorry, I’ve been quite busy lately! I’ll look into it as soon as I can.

Can’t see why not! I’ll look into it for [v1.2](https://github.com/PawelDecowski/jquery-creditcardvalidator/milestone/3).

Looks interesting. I’ll check it out when I have time. Thanks.

@rafaellyra So all I need to do is wrap the plugin in this: https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js?

@truemed It’ll be added in [v1.2](https://github.com/PawelDecowski/jquery-creditcardvalidator/milestone/3).