Hi, I am using vue3.
I want to make a choice, not a focus.
Is there a way?
:value allows you to select a date, but no other date.
Is there a way?
const onCalendarClick = event => {
console.log(event) //event.target.value X //event.value X
}
<Calendar v-model="modelDate"
mode="range"
:views="2"
:focusedDate="today"
:allowReverse="true" >
Hi, kang,
Can you please elaborate more on the scenario that you are facing and what the targetted functionality is? The value prop enables the selection of whichever date is clicked on the UI of the Calendar, here is an example with the onChange event in action:
https://stackblitz.com/edit/mvjqkh-xantdx?file=src%2Fmain.vue
You can find the clicked date logged in the console on every date selection. Please let me know the details of the required functionality and I will gladly assist in finding the correct event for it and assist further in the implementation.
Regards,
Filip