Merge pull request #5313 from DamianGlowala/master

fix(Calendar): expose same attrs to pt context for day and day label
pull/5315/head
Tuğçe Küçükoğlu 2024-02-20 14:07:30 +03:00 committed by GitHub
commit 89610aae03
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -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
}