Skip to content

p-datepicker-current-day is not applied to the selected day #15969

@Farbfetzen

Description

@Farbfetzen

Describe the bug

The documentation states that the cell of the selected day gets the class p-datepicker-current-day. However, when inspecting the element the class is nowhere to be found. I also cannot find it when searching for it in this Repository (other than the one mention in the docs).

I found one related Issue (#7222) but the fix for it did not include the missing class.

Luckily I found a workaround by using p-highlight instead.

Environment

???

Reproducer

No response

Angular version

17.3.10

PrimeNG version

17.18.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.13.1

Browser(s)

Firefox

Steps to reproduce the behavior

Open the datepicker of a calendar component, select a day and then inspect the selected day.

Expected behavior

I expect either the class to be applied according to the documentation or the documentation to be corrected.

Metadata

Metadata

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions