ng-payment-card : expiration year's dropdown doesn't contain proper options
Solution 1:
The years appear to be generated here:
public static getYears(): Array<number> {
const years: Array<number> = [];
const year = new Date().getFullYear();
for (let i = -2; i < 5; i++) {
years.push(year + i);
}
return years;
}
}
As you can see, that -2
is hardcoded. I think the best you can do is alter your local copy of the source; although that's probably inadvisable.