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

Forcing exp date for only one specific format #30

Open
ermamud opened this issue Mar 8, 2018 · 2 comments
Open

Forcing exp date for only one specific format #30

ermamud opened this issue Mar 8, 2018 · 2 comments

Comments

@ermamud
Copy link

ermamud commented Mar 8, 2018

I know exp date validators support both ways: MM/YY and MM/YYYY. But, Is there a way to force the validator to only validate one format? I 'd like to use only MM/YYYY in my project

@phill2mj
Copy link

@ermamud I've created a PR to address this: #58

@xenobardok
Copy link

Use minlength="9" to specify mm/yyyy or use max-length="7" to specify mm/yy

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

3 participants