This PR emits achanged event whenever the selected date is changed. This is also the case when the selected date changes from null to a valid date and vice versa.
Further, it alters the way the focus and blur events work: instead of relating solely to the focus status of the input field, these events now relate to the focus status of the datepicker as a whole. Therefore, an inline datepicker will now emit a focus event when any element within it first becomes focused - and a blur event when no elements within it are focused any longer.
This PR emits a
changed
event whenever the selected date is changed. This is also the case when the selected date changes fromnull
to a valid date and vice versa.Further, it alters the way the
focus
andblur
events work: instead of relating solely to the focus status of the input field, these events now relate to the focus status of the datepicker as a whole. Therefore, an inline datepicker will now emit afocus
event when any element within it first becomes focused - and ablur
event when no elements within it are focused any longer.