Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputOTP: cannot paste with integer-only mode #5792

Closed
frasza opened this issue May 28, 2024 · 0 comments · Fixed by #5798
Closed

InputOTP: cannot paste with integer-only mode #5792

frasza opened this issue May 28, 2024 · 0 comments · Fixed by #5798
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@frasza
Copy link

frasza commented May 28, 2024

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 frasza added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 28, 2024
@tugcekucukoglu tugcekucukoglu added this to the 3.53.0 milestone Jun 7, 2024
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants