-
Notifications
You must be signed in to change notification settings - Fork 874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slot content is not reactive when a day is clicked. #1479
Comments
I had the same issue yesterday. It happened when I upgraded from Vue 3.3 to 3.4 |
I had the same issue too. |
Hello! I just spent couple of hours troubleshooting the issue... I think this change in particular is a change vuejs/core#11135 which was closing this issue: vuejs/core#11121 Maybe I'll find time later to check how to fix v-calendar... |
My temporary fix is to use the date model and format its value. <input
:value="
date!= ''
? dayjs(date).format(
'MM/DD/YYYY',
)
: ''
"
placeholder="Select Date"
name="date"
v-on="inputEvents"
/> |
Same issue here with v-calendar 3.1.2 (using |
Looks like there are a lot of pending issues. I hope this one will get worked on soon. My workaround until this is fixed is to just use the date ref and format it manually
|
same happens with popover and/or reactive dates <template #day-popover="{ day, attributes }"> const dates = ref([]);
const customData = ref({});
const attrs = ref([
{
key: "events",
dot: {
style: {
backgroundColor: "white",
},
},
dates: dates,
popover: { visibility: "hover" },
customData: customData,
},
]); |
Vue changes seems to be reverted with vue 3.4.31. Problem with popover and/or reactive dates seems to be fixed on my side. |
fixed vue@v3.4.31 |
Stackblitz
Vue 3.4.29
VCalendar 3.1.2
Working version
Vue 3.4.28
The text was updated successfully, but these errors were encountered: