Closed timoteiNicsoft closed 4 years ago
Hey @timoteiNicsoft. Now you can do it with the v-model
<functional-calendar v-model="calendarData"/>
data(){
calendarData: {
selectedDates: [{date: '15/5/2020'}]
}
}
Thanks
Hi,
And for selection in data range what would be the structure?
On 2 May 2020, at 23:35, Manuk notifications@github.com wrote:
Closed #68 https://github.com/ManukMinasyan/vue-functional-calendar/issues/68.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ManukMinasyan/vue-functional-calendar/issues/68#event-3296791793, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGBAS5PS6RHY7FUTS3W7IHDRPR7YHANCNFSM4MTVCLKQ.
calendarData: {
dateRange: {
start: {
date: '19/5/2020',
},
end: {
date: '25/5/2020',
}
}
}
I tried this option, but I didn't succeed
this.selectedDatesObjective is the selectedDates array saved later