Prevent DateTimePicker from autoclose

1 Answer 200 Views
DateTimePicker
Dmytro
Top achievements
Rank 1
Dmytro asked on 04 Jan 2022, 10:56 AM | edited on 04 Jan 2022, 11:07 AM

I have a kendo component kendo-datetimepicker (angular project)

When I open the calendar, start typing the date (day, month, year) and time (hours, minutes) in the input, right at the end when I select minutes - the calendar closes automatically.

The issue could be checked here: https://www.telerik.com/kendo-angular-ui/components/dateinputs/datetimepicker/date-time-limits/

Any way to prevent the calendar from closing when I type the date manually?

And close, only when I click on the cancel or set button or somewhere outside?

Here is a video with the issue: https://vimeo.com/662234988

1 Answer, 1 is accepted

Sort by
0
Yanmario
Telerik team
answered on 07 Jan 2022, 08:10 AM

Hi Dmytro,

Thank you for the provided details.

The described behavior is expected and by design from our UX team. The desired requirement can be achieved by preventing the default behavior of the close event and utilizing the toggle method of the DateTimePicker component, as demonstrated in the following example:

https://stackblitz.com/edit/angular-4pnuih?file=app/app.component.ts

I hope this helps.

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.

Tags
DateTimePicker
Asked by
Dmytro
Top achievements
Rank 1
Answers by
Yanmario
Telerik team
Share this question
or