icehaunter / vue3-datepicker

Simple datepicker component for Vue 3
https://icehaunter.github.io/vue3-datepicker/
MIT License
150 stars 153 forks source link

event not working #74

Closed YogaHadiN closed 2 years ago

YogaHadiN commented 2 years ago

I tried to add attribute like @selected or @change in the component. But event handler seems not working at all. How to implement event when date is selected?

ahoiroman commented 2 years ago

For me it works with @update:modelValue

alexlydiate commented 2 years ago

Having the same issue. Need to call an injected method on date selected, so far it @selected does not appear to work.

icehaunter commented 2 years ago

@selected is not supported at the moment, see #14. @ahoiroman's comment is correct, you can use the event emitted to update the v-model