fix(Calendar): expose same attrs to pt context for day and day label
parent
f6d86453b5
commit
0e7b65c3ca
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue