Why doesn't pressing Enter submit <form>?


#1

I can submit a <form> by clicking a <button type="submit"> (with addEventListener('submit'…, so why doesn’t pressing Enter also submit the form? I’ve looked through the Atom and Electron docs and I can’t find an answer.


#2

Got it. Made <input class="native-key-bindings" />. Found answer here Input Text Element Can’t Backspace in looking how to make backspace work.