Fix datepicker unstyled
Make selections based on attributes not classespull/6155/head
parent
2d5c7461ef
commit
8e7192ad8d
|
@ -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