Replies: 3 comments 8 replies
-
Fixed with this:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@logaretm This actually causes a full page submit in Firefox 🤔 is that a bug? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Also I should mention it works in Safari + Chrome, FF is full page submit |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a form with a single input and a save button. I'm trying to get the input allow submitting via the enter key.
Note that it's NOT server-side submit, but the typical preventDefault submit behavior as if you had simply pushed a
<button type="submit">submit</button>
I was trying to work with handleSubmit but it uses a promise so I'm not exactly sure how to just submit the form?
Beta Was this translation helpful? Give feedback.
All reactions