diff --git a/tailbone/static/js/tailbone.buefy.datepicker.js b/tailbone/static/js/tailbone.buefy.datepicker.js index 52018a3e..52f01937 100644 --- a/tailbone/static/js/tailbone.buefy.datepicker.js +++ b/tailbone/static/js/tailbone.buefy.datepicker.js @@ -11,6 +11,7 @@ const TailboneDatepicker = { 'icon="calendar-alt"', ':date-formatter="formatDate"', ':date-parser="parseDate"', + ':value="value ? parseDate(value) : null"', '@input="dateChanged"', '>', '' @@ -19,6 +20,7 @@ const TailboneDatepicker = { props: { name: String, id: String, + value: String }, methods: {