nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.
https://vcalendar.io
MIT License
4.36k stars 847 forks source link

How to Update range start and end date from v-model. i am using ^3.2.26 and "v-calendar": "^3.0.0-alpha.6", #1066

Open myomyintaung1411 opened 2 years ago

myomyintaung1411 commented 2 years ago
    <v-date-picker  locale="zh" v-model="range" :masks="masks" is-range :max-date="new Date()">
    </v-date-picker>

const range = reactive({ start: null, end: null, });

dbabiichuk commented 2 years ago

Try with Object.assign({}, this.range, { [id]: value })