Post

Fun JS fact that might pop up: `formElement.submit()` will bypass your onSubmit handler and directly submit the form. But `.requestSubmit()` will trigger it like you'd expect! Here's an example with React, but it's a Form API, so it'll work anywhere. developer.mozilla.org/en-US/docs/W...

0 reposts0 likes

No replies yet.