[BUG] - InputOtp
does not work allowedKeys
when using React Hook Form
#4329
Labels
✨ Type: Enhancement
New enhancement on existing codebase
NextUI Version
2.6.8
Describe the bug
The
allowedKeys
prop in theInputOtp
component does not work when using the React Hook Form. Both the default value and custom prop value are not applied.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
By default, the
allowedKeys
parameter is set to^[0-9]*$
. The same behavior is expected when using React Hook Form.Operating System Version
Any
Browser
Chrome
The text was updated successfully, but these errors were encountered: