This is a migrated thread and some comments may be shown as answers.

Disable input & replace with picker

1 Answer 563 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Zhi Yuan
Top achievements
Rank 1
Veteran
Zhi Yuan asked on 20 Jan 2021, 08:27 AM

Hello,

Is it possible to disable keyboard input, and display the DateTimePicker when the input area is clicked instead?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 20 Jan 2021, 10:32 AM

Hello Zhi Yuan,

Perhaps the closest feature we have in mind is showing the popup when the input focuses: https://feedback.telerik.com/blazor/1475760-dropdowns-and-date-time-pickers-open-the-dropdown-on-component-focus. In the thread you can also find a few approaches you can try in the meantime to expand the picker.

If you don't want the input, you could try hiding it with CSS and, based on your business logic, use an approach like the ones listed above to expand the picker.

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

Tags
DateTimePicker
Asked by
Zhi Yuan
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or