Open louis-sicko opened 2 months ago
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!
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
https://ui.shadcn.com/docs/components/input-otp