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?