We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. We have problems with expiry date funct.
The problem appears when you use one input to month and year.
for example:
<input #expiryInput="ngModel" [(ngModel)]="expiryFull" class="form-control" name="year" placeholder="•• / ••" (ngModelChange)="testValueExpired($event)" required data-stripe="exp_year" id="cc-exp-date" type="tel" autocomplete="cc-exp" ccExp [maxLength]="7"/>
In this case we want to validate years with 2 digits only.
Problem:
When a user press the keys very fast the year part could have from 2 to 4 digits, so, for us is a problem.
i modded the file credit-card.js to validate only 2 digit , but for futher version may you can add some decorator for 2 or 4 digits.
The text was updated successfully, but these errors were encountered:
duplicate of #30
Sorry, something went wrong.
No branches or pull requests
Hi.
We have problems with expiry date funct.
The problem appears when you use one input to month and year.
for example:
In this case we want to validate years with 2 digits only.
Problem:
When a user press the keys very fast the year part could have from 2 to 4 digits, so, for us is a problem.
i modded the file credit-card.js to validate only 2 digit , but for futher version may you can add some decorator for 2 or 4 digits.
The text was updated successfully, but these errors were encountered: