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

Pin Input pattern doesn't prevent typing unwanted keys, it only hides them #826

Closed
trueight opened this issue Oct 28, 2024 · 1 comment
Closed
Labels
bug Something isn't working next

Comments

@trueight
Copy link

Describe the bug

2024-10-28.12-41-11.mp4

Reproduction

open https://next.shadcn-svelte.com/docs/components/input-otp#pattern

click on input

try digit &&&$$$

Logs

No response

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 AMD Ryzen 5 5600G with Radeon Graphics
    Memory: 5.80 GB / 15.30 GB
  Binaries:
    Node: 22.2.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.1.1 - ~\AppData\Local\pnpm\pnpm.EXE
    bun: 1.1.28 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527

PS C:\Users\eight>

Severity

annoyance

@trueight
Copy link
Author

2024-10-28.12-46-23.mp4

@huntabyte huntabyte transferred this issue from huntabyte/shadcn-svelte Oct 28, 2024
@huntabyte huntabyte changed the title the OTP Input pattern doesn't prevent typing unwanted keys, it only hides them Pin Input pattern doesn't prevent typing unwanted keys, it only hides them Oct 28, 2024
@huntabyte huntabyte added bug Something isn't working next labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next
Projects
None yet
Development

No branches or pull requests

2 participants