In Kendo Form, pressing the Enter key triggers the submit button click. However, I want to disable this default behavior of the Enter key and make the form to be submitted only when the submit button is clicked.
1 Answer, 1 is accepted
0
Konstantin Dikov
Telerik team
answered on 05 Apr 2024, 08:34 AM
Hi Jinghoon,
This is the standard behavior of the forms and there are different ways to prevent the Enter key for submitting the form. By default, the first submit button will be used to submit the form when the Enter key is pressed, so one option using the KendoReact Form would be to change the type of the button to "button" and handle its click event to submit the form: