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

Standard CVC should validate on both 3 and 4 digits #18

Closed
zkoch opened this issue Jun 1, 2015 · 1 comment
Closed

Standard CVC should validate on both 3 and 4 digits #18

zkoch opened this issue Jun 1, 2015 · 1 comment

Comments

@zkoch
Copy link

zkoch commented Jun 1, 2015

Standard CVC input should accept CVCs with length of either 3 or 4. Right now devs have to specify "amex" in the tag to allow 4 digits.

@notwaldorf
Copy link
Contributor

You can do this by binding the gold-cc-cvc-input's card type to the gold-cc-input's card type:

<gold-cc-input auto-validate card-type="{{cardType}}"></gold-cc-input>
<gold-cc-cvc-input card-type="[[cardType]]"></gold-cc-cvc-input>

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

2 participants