Clear DatePicker value in Controlled Mode

2 posts, 1 answers
  1. David
    David avatar
    31 posts
    Member since:
    Sep 2019

    Posted 07 Dec 2020 Link to this post


    I am using a datepicker in a form. The form is used for filtering and has a reset button. If I programatically set the value of the datepicker to another value, the value displayed by the datepicker is updated. If I set the datepicker value to undefined (on reset), the underlying value is updated but the value displayed by the datepicker doesn't change. Is this a bug or is there a better way to clear the selected datepicker value?

    Kind regards,


  2. Answer
    Kiril avatar
    24 posts

    Posted 08 Dec 2020 Link to this post

    Hello David,

    In order to reset the value of the DatePicker, please use `null` instead of `undefined`. Across all KendoReact components, we use the `undefined` value as an indication that the component is in uncontrolled mode, and `null` as an indication for an empty value.

    Could you please try this and let me know if it solves the problem?

    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

Back to Top