ejirocodes / vue3-otp-input

🐗 A fully customisable OTP input component for Vue 3.x
https://npm.im/vue3-otp-input
116 stars 25 forks source link

When user start typing from right to left it is duplicating the value when using v-model #34

Closed aakashbathla closed 9 months ago

aakashbathla commented 1 year ago

Describe the bug When user start typing from right to left, it is duplicating the value and also autfocus is not working as expected

To Reproduce Steps to reproduce the behavior:

Instead of going from left to right. I tried going from right to left. suppose i have 6 input fields and i directly typed in 6th field. it is duplicating the value in first too.

for 5th it is duplicating the value in 2nd.

Expected behavior should not duplicate values

alex-maereanu commented 1 year ago

I can confirm this bug

moaoa commented 1 year ago

Is anyone working on this?

ejirocodes commented 9 months ago

Fixed and publish #42