showonne / vue-date

A datepicker component for Vue.js
https://showonne.github.io/vue-date/
MIT License
156 stars 65 forks source link

Update v-model of the date picker in range mode doesn't work #29

Open KNTH01 opened 6 years ago

KNTH01 commented 6 years ago

I try to change the date range programmatically by an assignment of a new date range for the v-model:

this.datePickerRange = [
    // date1,
    // date2
]

Only update the input but not the component range.