From f5711cb38c409090d4d15420e1e21ef579fe166a Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 25 Nov 2020 18:34:32 +0100 Subject: [PATCH] Set the flatpickr date when setting changing the date --- src/components/input/datepicker.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/input/datepicker.vue b/src/components/input/datepicker.vue index e39751077..a9674f6fb 100644 --- a/src/components/input/datepicker.vue +++ b/src/components/input/datepicker.vue @@ -167,6 +167,7 @@ export default { const newDate = new Date() newDate.setDate(newDate.getDate() + interval) this.date = newDate + this.flatpickrDate = newDate this.updateData() }, getDayIntervalFromString(date) {