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

Input OTP #58

Open
louis-sicko opened this issue Apr 24, 2024 · 2 comments
Open

Input OTP #58

louis-sicko opened this issue Apr 24, 2024 · 2 comments

Comments

@louis-sicko
Copy link
Contributor

https://ui.shadcn.com/docs/components/input-otp

@louis-sicko
Copy link
Contributor Author

louis-sicko commented May 2, 2024

Just some thoughts:

Maybe options for the divider?
-> like setting the divider to 3 on a 6 char long input. Then it would be splitted half. If set to 2 on a 6 char long input there would be 2 dividers

Maybe a setting to allow the input types?
-> alphabetic, numbers, both, regex?

Length of Input
-> self explaining

(Or the individual approach like in the original shadcn/ui lib)

Thank you for your work on this all!

@nank1ro
Copy link
Owner

nank1ro commented May 2, 2024

Thanks for the reasoning. I don't think I will work soon to this component. The missing ones are more important and probably more needed.
Don't know if you wanna try yourself implementing it, can give suggestions if needed

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

No branches or pull requests

2 participants