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: clicking on a selected filled box prevents you removing #6373

Closed
mergehez opened this issue Sep 10, 2024 · 0 comments · Fixed by #6354
Closed

InputOtp: clicking on a selected filled box prevents you removing #6373

mergehez opened this issue Sep 10, 2024 · 0 comments · Fixed by #6354
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@mergehez
Copy link
Contributor

Describe the bug

When a OTP box is already filled and focused(selected) and you click on it, the box content is not selected anymore. If the caret is before the content you can't clear the box. Like the case in the screenshot below:
image

This is a small bug. But "no bug" is better than "small bug" :)

Reproducer

no need

PrimeVue version

4.0.6

Vue version

4.x

Language

ALL

Build / Runtime

Vue CLI App

Browser(s)

Chrome 127.0.6533.119

Steps to reproduce the behavior

  1. open docs: https://primevue.org/inputotp/#basic
  2. type "abcd"
    image
  3. click before "d"
    image
  4. try to clear/remove the content.

it won't remove it. pressing delete works but backspace is the standard for clearing/removing

Expected behavior

No response

@mergehez mergehez added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 10, 2024
@mergehez mergehez changed the title InputOtp: clicking on a selected filled box prevent you removing InputOtp: clicking on a selected filled box prevents you removing Sep 10, 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 Sep 24, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.1.0 milestone Sep 24, 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