-
Hello again, Once I enter the 4 digits, it runs onSubmit. Solution: Once you enter the number of digits and automatically call onSubmit. Disable pressing "Enter" key Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @m00gl3, you can use the onKeyDown prop to modify the behavior. You can look for event of enter key and prevent the submission in your code itself. Or please share your code so that I can help you with the direction. This does not seem to be a bug and looks more of a help you need to achieve what you are doing. I am moving this to a discussion. Please share a minimal reproducable codesandbox or a video or share your code, so that I can help you with the right direction. Thanks. |
Beta Was this translation helpful? Give feedback.
-
You were right, this was a bug on my end. I implemented something incorrectly on my end |
Beta Was this translation helpful? Give feedback.
You were right, this was a bug on my end. I implemented something incorrectly on my end