syncfusion-content / ej2-vue-docs

Documentation repository for the EJ2 Vue platform
0 stars 16 forks source link

Documentation on two-way binding in Vue Schedule is incorrect #249

Open SyncroIT opened 10 months ago

SyncroIT commented 10 months ago

Here in the docs it says you can two-way bind both selectedDate and currentView by using v-model's attribute.

immagine

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

SyncroIT commented 10 months ago

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