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

fix: InputOtp IntegerOnly mode accepts "space" #7139

Merged

Conversation

navedqb
Copy link
Contributor

@navedqb navedqb commented Sep 9, 2024

Fixes #7138

Copy link

vercel bot commented Sep 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
primereact ⬜️ Ignored (Inspect) Visit Preview Sep 9, 2024 7:38am
primereact-v9 ⬜️ Ignored (Inspect) Visit Preview Sep 9, 2024 7:38am

@melloware
Copy link
Member

Just change this.

case 'Tab':
case 'Space':
case 'Enter': {
      break;
}

and remove it from where you have it.

Copy link
Member

@melloware melloware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment

@melloware melloware closed this Sep 13, 2024
@melloware melloware reopened this Sep 13, 2024
@melloware melloware merged commit 0bbd86b into primefaces:master Sep 13, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InputOtp: IntegerOnly mode accepts "space"
2 participants