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: Replace character does not work when all inputs are filled in #15330

Closed
wolfvandenbussche opened this issue Apr 22, 2024 · 1 comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@wolfvandenbussche
Copy link

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
image
select the first input
type a number => the initial number is replaced
image
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

@wolfvandenbussche wolfvandenbussche added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 22, 2024
@mertsincan
Copy link
Member

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding!
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants