thiago-Malaca / vue-credit-card

Vue.js component for card https://github.com/jessepollak/card
MIT License
38 stars 50 forks source link

Last digit of card number got deleted automatically. #1

Closed xhkz closed 7 years ago

xhkz commented 7 years ago

Hi,

Thanks for your work.

The input formatting seems automatically removing the last digit in card number with the white space. It also happens to expiry input.

<input name="number" type="tel" v-model="cardDetails.number" v-card-focus>
<input name="expiry" type="tel" v-model="cardDetails.expiry" v-card-focus>

I recorded a gif for this issue, during the input I did not touch backspace key: vue-credit-card

thiago-Malaca commented 7 years ago

Hi @xhkz,

Thanks for reporting this bug. You described the problem well.