DatePicker OnClose Event

Hi there!

When you cycle through the dates in the datepicker (go to next month, go to next year, change month value, etc.) the binded value always changes. However, I would like to fire an event only when the Calendar closes (user intentionally changes the value). Is it possible to add an event to the DatePicker to do this? IE, when the calendar is closed, perform a function?

Hi @dmarsh12,

Yes, this is by design in order to emulate the behavior of the HTML built-in <input type="date">

We probably won't add a Close event of the DatePicker. The reasons are:

  1. One can type a date in the datepicker thus changing its value without opening it.
  2. The datepicker supports inline mode (without popup) where a Close event has no meaning.
1 Like