guilhermerodz / input-otp

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

support pattern/regex validation #66

Closed phuopham closed 2 weeks ago

phuopham commented 2 months ago

Is your feature request related to a problem? Please describe. Unknown.

Describe the solution you'd like can use as standard input pattern=${regex}

phuopham commented 2 months ago

oh my mistake. Sorry