InputOtp: Pasting adds an extra character #6351
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When you paste some text longer than "length", "length + 1" characters are pasted.
Reproducer
no need
PrimeVue version
4.0.5
Vue version
4.x
Language
ALL
Build / Runtime
Vue CLI App
Browser(s)
Chrome 127.0.6533.119
Steps to reproduce the behavior
you can try it really quickly here: https://primevue.org/inputotp/
Expected behavior
it shouldn't add the extra character
The text was updated successfully, but these errors were encountered: