Unplanned
Last Updated: 24 Feb 2023 12:43 by ADMIN
Patrick
Created on: 13 Feb 2023 12:11
Category: Kendo UI for Angular
Type: Feature Request
0
TimePicker blur event should contain data
The (blur)-Event of the TimePicker should be an object similar to the plain javascript (blur)-event object. Specificly, it should contain a relatedTarget property.
3 comments
ADMIN
Yanmario
Posted on: 24 Feb 2023 12:43

Hi Patrick,

Thank you for the provided feedback.

After consulting the matter with our developers, it is indeed a valid request and I will set the status as unplanned. We will track this request and consider it in accordance with the customer's demand.

Regards,
Yanmario
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/.

Patrick
Posted on: 20 Feb 2023 09:16

Hi Yanmario,

unfortunately, the approach in the stackblitz example is not what we need. We need a behavior similar to native HTML input elements. If such an element loses the focus, it emits a blur event with a property called relatedTarget and this property contains a reference to the element that received the focus. As the Kendo TimePicker consists of a native HTML input element, it should be quite simple for you to catch the native blur event and give it out so that we can use it.

 

Best regards,

Patrick

ADMIN
Yanmario
Posted on: 20 Feb 2023 08:46

Hi Patrick,

The blur behavior doesn't return any information and that is by design. The developer has the freedom to reference an element from the page and use it inside the TimePicker element as demonstrated in the following example:

https://stackblitz.com/edit/angular-baagnl?file=src%2Fapp%2Fapp.component.ts

The approach demonstrates how to get a TimePicker and div element reference from the HTML. Is there a specific use that I am missing or the above implementation is the desired behavior for the blur event?

If the above approach is valid for your use case, then the feature request thread will be closed.

Regards,
Yanmario
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.