Calls onSubmit on a plain Enter in a single-line input inside elRef, the implicit submission a native <form> gives; multi-line fields (textarea, markdown editors) and modified Enter keep their own meaning.
onSubmit
elRef
<form>
Calls
onSubmiton a plain Enter in a single-line input insideelRef, the implicit submission a native<form>gives; multi-line fields (textarea, markdown editors) and modified Enter keep their own meaning.