Merge pull request #6155 from cjalex1313/issues/6147
Fix datepicker unstyled - https://github.com/primefaces/primevue/issues/6147pull/6161/head
commit
17982945ff
|
@ -2516,7 +2516,7 @@ export default {
|
||||||
cell = findSingle(this.overlay, 'span[data-p-selected="true"]');
|
cell = findSingle(this.overlay, 'span[data-p-selected="true"]');
|
||||||
|
|
||||||
if (!cell) {
|
if (!cell) {
|
||||||
let todayCell = findSingle(this.overlay, 'td.p-datepicker-today span:not([data-p-disabled="true"]):not([data-p-ink="true"])');
|
let todayCell = findSingle(this.overlay, 'td[data-p-today="true"] span:not([data-p-disabled="true"]):not([data-p-ink="true"])');
|
||||||
|
|
||||||
if (todayCell) cell = todayCell;
|
if (todayCell) cell = todayCell;
|
||||||
else cell = findSingle(this.overlay, '.p-datepicker-calendar td span:not([data-p-disabled="true"]):not([data-p-ink="true"])');
|
else cell = findSingle(this.overlay, '.p-datepicker-calendar td span:not([data-p-disabled="true"]):not([data-p-ink="true"])');
|
||||||
|
|
Loading…
Reference in New Issue