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: Keyboard shortcut paste not working in IntegerOnly #6573

Closed
RashmiChandran opened this issue May 6, 2024 · 1 comment · Fixed by #6577, leoo1992/GeradorQRCode#40, mtech-31-quemistry/quemistry_client_web#3 or leoo1992/GeradorQRCode#57 · May be fixed by nhattpn/BTL_LTNC#56
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@RashmiChandran
Copy link

Describe the bug

When we add integerOnly attribute to the InputOtp, paste is working fine when we paste through right click of the mouse, But when we paste through keyboard shortcuts(Ctrl + v) it is not pasting as expected.

Reproducer

No response

PrimeReact version

10.6.5

React version

18.x

Language

TypeScript

Build / Runtime

Next.js

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@RashmiChandran RashmiChandran 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 6, 2024
@Rekl0w
Copy link
Contributor

Rekl0w commented May 6, 2024

PR submitted.

@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels May 6, 2024
@melloware melloware added this to the 10.7.0 milestone May 6, 2024
melloware added a commit that referenced this issue May 7, 2024
* Fix #6573: add paste key

* Update InputOtp.js

---------

Co-authored-by: Melloware <mellowaredev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment