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 mode accepts "space" #6353

Closed
mergehez opened this issue Sep 6, 2024 · 0 comments · Fixed by #6355 · May be fixed by nerdy-tech-com-gitub/litlyx#11
Closed

InputOtp: IntegerOnly mode accepts "space" #6353

mergehez opened this issue Sep 6, 2024 · 0 comments · Fixed by #6355 · May be fixed by nerdy-tech-com-gitub/litlyx#11
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

mergehez commented Sep 6, 2024

Describe the bug

In "IntegerOnly" mode, pressing the space bar is accepted as input.

Reproducer

no need

PrimeVue version

4.0.5

Vue version

4.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

Chrome 127.0.6533.119

Steps to reproduce the behavior

  1. Go to https://primevue.org/inputotp/#integeronly
  2. Press space bar
    image

Expected behavior

It shouldn't accept it..

@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 6, 2024
mergehez added a commit to mergehez/primevue that referenced this issue Sep 6, 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 10, 2024
@tugcekucukoglu tugcekucukoglu added this to the 4.0.7 milestone Sep 10, 2024
tugcekucukoglu added a commit that referenced this issue Sep 10, 2024
…roblem

fixes #6353 - InputOtp: IntegerOnly mode accepts "space"
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
2 participants