Open SyncroIT opened 10 months ago
Here in the docs it says you can two-way bind both selectedDate and currentView by using v-model's attribute.
selectedDate
currentView
v-model
Obviously that's not working.. Two-way binding for selectedDate works this way (verified):
<ejs-schedule v-model:selectedDate="selectedDate"></ejs-schedule>
As for currentView I haven't verified how it's implemented, maybe that works with the default v-model.
The documentation's page that I'm talking about: https://ej2.syncfusion.com/vue/documentation/schedule/how-to/two-way-binding
Also I'd like to point out the :selectedDate prop is not required when you're using v-model:selectedDate, I don't know why you use both in the documentation
:selectedDate
v-model:selectedDate
Here in the docs it says you can two-way bind both
selectedDate
andcurrentView
by usingv-model
's attribute.Obviously that's not working.. Two-way binding for
selectedDate
works this way (verified):As for
currentView
I haven't verified how it's implemented, maybe that works with the default v-model.The documentation's page that I'm talking about: https://ej2.syncfusion.com/vue/documentation/schedule/how-to/two-way-binding