Skip to content

Commit

Permalink
Merge pull request #5313 from DamianGlowala/master
Browse files Browse the repository at this point in the history
fix(Calendar): expose same attrs to pt context for day and day label
  • Loading branch information
tugcekucukoglu authored Feb 20, 2024
2 parents f6d8645 + 0e7b65c commit 89610aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/lib/calendar/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@
context: {
date,
today: date.today,
otherMonth: date.otherMonth
otherMonth: date.otherMonth,
selected: isSelected(date),
disabled: !date.selectable
}
})
"
Expand All @@ -225,6 +227,8 @@
ptm('dayLabel', {
context: {
date,
today: date.today,
otherMonth: date.otherMonth,
selected: isSelected(date),
disabled: !date.selectable
}
Expand Down

0 comments on commit 89610aa

Please sign in to comment.