Merge pull request #5313 from DamianGlowala/master
fix(Calendar): expose same attrs to pt context for day and day labelpull/5315/head
commit
89610aae03
|
@ -205,7 +205,9 @@
|
||||||
context: {
|
context: {
|
||||||
date,
|
date,
|
||||||
today: date.today,
|
today: date.today,
|
||||||
otherMonth: date.otherMonth
|
otherMonth: date.otherMonth,
|
||||||
|
selected: isSelected(date),
|
||||||
|
disabled: !date.selectable
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
"
|
"
|
||||||
|
@ -225,6 +227,8 @@
|
||||||
ptm('dayLabel', {
|
ptm('dayLabel', {
|
||||||
context: {
|
context: {
|
||||||
date,
|
date,
|
||||||
|
today: date.today,
|
||||||
|
otherMonth: date.otherMonth,
|
||||||
selected: isSelected(date),
|
selected: isSelected(date),
|
||||||
disabled: !date.selectable
|
disabled: !date.selectable
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue