When manually entering text into the input field to change the date range and then clicking "Apply", the object passed to the input's (change) handler, instead of being the expected { startDate, endDate } object, is an HTML Event object.
I would expect this to always be a starDate endDate object. This is problematic for object reasons. It is possible to extract the dates from the event.target.value but it's plain text and some of the functionality is lost. For example if selecting a single day, the date range will be to the start of the next day (00:00:00) instead of to the end of the day (23:59:59).
Angular version: 2+ component version: 4.0.1
When manually entering text into the input field to change the date range and then clicking "Apply", the object passed to the input's (change) handler, instead of being the expected { startDate, endDate } object, is an HTML Event object.
I would expect this to always be a starDate endDate object. This is problematic for object reasons. It is possible to extract the dates from the event.target.value but it's plain text and some of the functionality is lost. For example if selecting a single day, the date range will be to the start of the next day (00:00:00) instead of to the end of the day (23:59:59).