From 0e7b65c3caef9cbdf8c872500f0bce0df0ade317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20G=C5=82owala?= Date: Tue, 20 Feb 2024 10:18:07 +0100 Subject: [PATCH] fix(Calendar): expose same attrs to pt context for day and day label --- components/lib/calendar/Calendar.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index ae06dd71bf..9f459c24a5 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -205,7 +205,9 @@ context: { date, today: date.today, - otherMonth: date.otherMonth + otherMonth: date.otherMonth, + selected: isSelected(date), + disabled: !date.selectable } }) " @@ -225,6 +227,8 @@ ptm('dayLabel', { context: { date, + today: date.today, + otherMonth: date.otherMonth, selected: isSelected(date), disabled: !date.selectable }