InputOtp: Build in paste functionality does not work to paste more than one character in the InputOtp #15847
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
Using an Android Phone - A54:
Upon copying a string and using the built-in paste functionality of the keyboard only the first character is filled in, even tough the InputOtp contains 4 characters and the copied text contains 4 characters.
Screen_Recording_20240614_154053_Chrome.mp4
Environment
Android Phone - Samsung A54.
Can be reproduced on the PrimeNG demo page
Reproducer
No response
Angular version
17.3.5
PrimeNG version
17.18.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.20.2
Browser(s)
Android Phone - Google Chrome
Steps to reproduce the behavior
Expected behavior
If I have 4 characters saved in my (keyboard's) clipboard and paste into the first input of the InputOtp component then all 4 of the characters should be filled in.
The text was updated successfully, but these errors were encountered: