OnClick event not working in DatePicker

2 posts, 0 answers
  1. Rashmi
    Rashmi avatar
    12 posts
    Member since:
    Jun 2020

    Posted 08 Jan Link to this post

    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} />

     

  2. Stefan
    Admin
    Stefan avatar
    3008 posts

    Posted 11 Jan Link to this post

    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/.

Back to Top