Closed arthurxavierx closed 4 years ago
Weirdly enough, if the submit button inside an HTML <form> captures the onClick event, the form won't get submitted even if the user presses the Enter key 😶
submit
<form>
onClick
Weirdly enough, if the
submit
button inside an HTML<form>
captures theonClick
event, the form won't get submitted even if the user presses the Enter key 😶