Innologica / vue2-daterange-picker

Vue2 date range picker
https://innologica.github.io/vue2-daterange-picker/
MIT License
329 stars 208 forks source link

On date range selection CalendarTime component does not update #303

Open d0hn opened 2 years ago

d0hn commented 2 years ago

What is the bug behaviour?

When selecting date ranges from the open calendar instance, the time does not update to reflect the correct value from the selected date range. The time does update in the footer of the calender instance and has correct output.

Expected behaviour

When selecting one of the date ranges, the time components should update to the matching values from within the selection.

Proposed solution

Add watchers to the currentTime prop at the CalendarTime.vue level.

d0hn commented 2 years ago

Mentioned in #304