inputOtp: Replace character does not work when all inputs are filled in #15330
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
The replacing of a character stops working when all the inputs are filled in.
Environment
I used https://primeng.org/inputotp
Reproducer
No response
Angular version
17
PrimeNG version
17.14.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20
Browser(s)
No response
Steps to reproduce the behavior
Add inputOtp with length 4
type 2 numbers
select the first input
type a number => the initial number is replaced
This works properly
Now type 4 numbers
select the first input
type a number => nothing happens, then number does not get replaced.
Tab keyboard function also stops working here
Expected behavior
I expect the behavior to stay the same when it's fully filled in
The text was updated successfully, but these errors were encountered: