guilhermerodz / input-otp

One time passcode Input. Accessible & unstyled.
https://input-otp.rodz.dev
MIT License
2.46k stars 53 forks source link

[FEATURE_REQUEST] inputType = "password" #69

Open deleonjuan opened 1 month ago

deleonjuan commented 1 month ago

Is your feature request related to a problem? Please describe. I want to use this as a password input and I would like to see asterisks(*) on screen instead of the actual values

Describe the solution you'd like add "password" to the posible types so it render something like asterisks or little dots.

now: 123-123 with type="password": -

guilhermerodz commented 3 days ago

Well, you can render * or whatever you want in case the inputType is password. It doesn't need to be the actual character. I am unsure whether this should be a feature though