nank1ro / flutter-shadcn-ui

shadcn-ui ported in Flutter. Awesome UI components for Flutter, fully customizable.
https://flutter-shadcn-ui.mariuti.com
MIT License
1.2k stars 71 forks source link

Input OTP #58

Open louis-sicko opened 7 months ago

louis-sicko commented 7 months ago

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

louis-sicko commented 7 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!

nank1ro commented 7 months ago

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

moshOntong-IT commented 4 months ago

I need this too, usually India and Philippines likey have Phone Number authentication. This is good if we have this

moshOntong-IT commented 3 months ago

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

Want to ask, what could be the missing ones ?

nank1ro commented 3 months ago

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

Want to ask, what could be the missing ones ?

The unchecked items you see in the README