mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fix datepicker unstyled
Make selections based on attributes not classes
This commit is contained in:
parent
2d5c7461ef
commit
8e7192ad8d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue