Open ermamud opened 6 years ago
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
MM/YY
MM/YYYY
@ermamud I've created a PR to address this: https://github.com/nogorilla/angular-cc-library/pull/58
Use minlength="9" to specify mm/yyyy or use max-length="7" to specify mm/yy
minlength="9"
max-length="7"
I know exp date validators support both ways:
MM/YY
andMM/YYYY
. But, Is there a way to force the validator to only validate one format? I 'd like to use onlyMM/YYYY
in my project