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: (integerOnly) No response when pressing Enter and Tab #5386

Closed
tommykamkcm opened this issue Mar 7, 2024 · 1 comment
Closed
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@tommykamkcm
Copy link

tommykamkcm commented Mar 7, 2024

Describe the bug

Enter, Tab, Shift+Tab buttons are not working when integerOnly is present

image

Reproducer

https://stackblitz.com/edit/primevue-create-vue-issue-template-eqnsjr?file=src%2FApp.vue

PrimeVue version

3.49.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

No response

Steps to reproduce the behavior

  1. Create a form with <InputOpt integerOnly /> and a submit button
  2. Focus on the first input, and press Tab
  3. Input 4 digits, and press Enter

Expected behavior

Being able to:

  1. submit form with Enter key
  2. traverse across 4 inputs
@tommykamkcm tommykamkcm added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 7, 2024
@tommykamkcm
Copy link
Author

A quick update - I just installed v3.51.0 and the all the issues found in 3.50.0 were well fixed. Thanks for the hard work!

It'd be great if this component could be more keyboard friendly i.e. Once I entered 4 digits and press "Enter" key, I should be able to submit the form. Pressing "Tab" and then "Enter" key will also work.

@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 Aug 2, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.0.4 milestone Aug 2, 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

No branches or pull requests

2 participants