Completed
Last Updated: 01 Dec 2022 10:29 by ADMIN
Johan
Created on: 12 Oct 2020 09:11
Category: Kendo UI for Angular
Type: Bug Report
0
kendo-datepicker submits form when pressing enter in the calendar popup

Hi,

Currently the kendo-datepicker submits the form when you press the enter key in the calendar popup.

I don't think this is the purpose? Can this be prevented please? If the current behaviour is useful in some scenarios, maybe provide a configuration option to alter this.

Thank you in advance.

Best regards,

Johan

2 comments
ADMIN
Martin Bechev
Posted on: 19 Oct 2020 09:38

Hi Johan,

As a follow up on this case.

It seems that this is an issue on our side. Thus I logged a bug report in our public GitHub repository that can be tracked at the following link:

https://github.com/telerik/kendo-angular/issues/3093

Please subscribe to the issue in order to be notified in a timely manner when a fix is released.

As a workaround, the developer can handle the generic keydown event of the DatePicker and prevent the Enter key as the following example demonstrate:

https://stackblitz.com/edit/angular-htzf2f-t39xsc

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Martin Bechev
Posted on: 19 Oct 2020 09:02

Hello Johan,

Thank you for the provided feedback.

We will investigate the reported issue further and I will write back with further details by the end of the day.

Thank you for your understanding.

Regards,
Martin
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).