Input OTP
Opened this issue · 2 comments
louis-sicko commented
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 commented
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