primevue icon indicating copy to clipboard operation
primevue copied to clipboard

InputOTP: cannot paste with integer-only mode

Open frasza opened this issue 8 months ago • 0 comments

Describe the bug

Whenever InputOTP uses integer-only mode like <InputOtp v-model="code" integer-only />, pasting the code with shortcut ctrl + v doesn't work. Strangely, pasting with right click and paste work. Can also be observed in documentation example -> https://primevue.org/inputotp/#integeronly

Reproducer

https://primevue.org/inputotp/#integeronly

PrimeVue version

3.52.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

No response

Steps to reproduce the behavior

  1. Open reproduction / documentation example
  2. Code code: 1234
  3. Try to paste code with shortcut CTRL+V

Expected behavior

No response

frasza avatar May 28 '24 09:05 frasza