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

OnClick event not working in DatePicker

1 Answer 1403 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rashmi
Top achievements
Rank 1
Veteran
Rashmi asked on 08 Jan 2021, 02:47 PM

Hi Stefan,

Onclick event (when the user clicks on a date picker Icon) is not firing in DatePicker and DateTimePicker. i.e <DatePicker onClick={onClick} onChange={onChange} />

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 11 Jan 2021, 06:06 AM

Hello, Rashmi,

This is expected as the DatePicker has no such property. This is the full list of properties:

https://www.telerik.com/kendo-react-ui/components/dateinputs/api/DatePickerProps/

If you wish to have this event available, please submit a feature request for it in our portal, and then based on its popularity we will add it in a future release:

https://feedback.telerik.com/kendo-react-ui

Currently, this can be achieved by adding a custom button and attaching an onClick to the custom button:

https://www.telerik.com/kendo-react-ui/components/dateinputs/api/DatePickerProps/

I hope this is helpful.

Regards,
Stefan
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
General Discussions
Asked by
Rashmi
Top achievements
Rank 1
Veteran
Answers by
Stefan
Telerik team
Share this question
or