Open stewie1570 opened 2 years ago
Both the onSubmit and onClick handlers are called when the user hits enter while on an input form. However, the reals submit handler will often be the onClick of the submit button because then it can fire off the loading-states of that button onClick handler.
Nestable form will swap the outer form onSubmit handler and will call the correct form onSubmit handler - HOWEVER, the onClick handler of the submit button is not swapped with the current form submit handler.