You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The allowedKeys prop in the InputOtp component does not work when using the React Hook Form. Both the default value and custom prop value are not applied.
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: