Topic: mdbCreditCard fails with Diners fails with Diners
Expected behavior
Inputting 14 digits for Diners credit card
Actual behavior
Only 13 digits allowed
Resources (screenshots, code snippets etc.)
<input type="text" formControlName="cc" id="cc" class="form-control" [mdbValidation]="false" mdbInput mdbCreditCard>
<label for="cc">CC number</label>
Screenshot: https://imgur.com/a/9X85b0a
Card numbers example: https://www.freeformatter.com/credit-card-number-generator-validator.html
mdb2 pro answered 5 years ago
mdb2 pro answered 5 years ago
Partially fixed in 8.1.1 ! Although numbers can be entered (big improvement), the limit is 19 digits rather than 14
Arkadiusz Idzikowski staff commented 5 years ago
Thanks, we will take a closer look at the correct limits for this specific card.
itay pro commented 5 years ago
Ping...............
Bartosz Termena staff commented 5 years ago
The limit problem will be fixed today.
Best Regards, Bartosz.
worldbaze answered 5 years ago
Do you know how to Check a credit card number that works, a credit card number that is valid? I will teach you how to do that right now. But have you seen a credit card that has more than 19 digits? Find out how to verify a credit card numbers and all you need to know about credit card validation here: https://www.worldbaze.com/credit-card-number-validation-and-generator/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.0.0
- Device: NA
- Browser: NA
- OS: NA
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 5 years ago
Thank you for reporting this problem, we will take a closer look at it.
mdb2 pro commented 5 years ago
I would appreciate a quick fix
Damian Gemza staff commented 5 years ago
This problem will be resolved with the next version.
mdb2 pro commented 5 years ago
Please always specify when