Merge pull request #160 from Nerderer/master
Fixed broken today button in the Calendar componentpull/201/head
commit
99a2ee698e
|
@ -695,7 +695,10 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
DomHandler.find(this.$refs.overlay, '.p-datepicker-calendar td span:not(.p-disabled)').forEach(cell => cell.tabIndex = -1);
|
DomHandler.find(this.$refs.overlay, '.p-datepicker-calendar td span:not(.p-disabled)').forEach(cell => cell.tabIndex = -1);
|
||||||
|
|
||||||
|
if (event) {
|
||||||
event.currentTarget.focus();
|
event.currentTarget.focus();
|
||||||
|
}
|
||||||
|
|
||||||
if (this.isMultipleSelection() && this.isSelected(dateMeta)) {
|
if (this.isMultipleSelection() && this.isSelected(dateMeta)) {
|
||||||
let newValue = this.value.filter(date => !this.isDateEquals(date, dateMeta));
|
let newValue = this.value.filter(date => !this.isDateEquals(date, dateMeta));
|
||||||
|
|
Loading…
Reference in New Issue