Fix datepicker behavior for grid filters

apparently we *do* need to accept a 'value' prop for tailbone-datepicker, to
round out the v-model support
This commit is contained in:
Lance Edgar 2019-05-23 13:57:44 -05:00
parent b829cd260c
commit dda790b5c4

View file

@ -11,6 +11,7 @@ const TailboneDatepicker = {
'icon="calendar-alt"',
':date-formatter="formatDate"',
':date-parser="parseDate"',
':value="value ? parseDate(value) : null"',
'@input="dateChanged"',
'>',
'</b-datepicker>'
@ -19,6 +20,7 @@ const TailboneDatepicker = {
props: {
name: String,
id: String,
value: String
},
methods: {