medipass/react-payment-inputs

Cvc.length is not limited

Opened this issue · 0 comments

I think this line implies that we shouldn't be able to input CVC longer than 4 symbols:

if (cvc.length >= 4) {

However, as seen in demos, we can:

https://medipass.github.io/react-payment-inputs/?path=/story/usepaymentinputs--basic-no-styles