Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(VDatePicker): Add data-today attribute for identifying today's date #20968

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

maryamBaratii
Copy link

Description

Currently, there's no way to identify today’s date in the HTML structure of VDatePicker.

This PR adds a data-today="true" attribute to the date element where isToday === true, making it easier to target today’s date for styling, scripting, or testing purposes.

fixes #20928

Inspect the VDatePicker component in the browser’s DevTools and verify that today's date has data-today="true".

@maryamBaratii maryamBaratii force-pushed the feat/20928-vdatepicker-today-attribute branch from e114bb9 to 544759b Compare February 11, 2025 14:31
@maryamBaratii maryamBaratii force-pushed the feat/20928-vdatepicker-today-attribute branch from 544759b to 71e8ea1 Compare February 12, 2025 14:34
@maryamBaratii maryamBaratii changed the base branch from master to dev February 12, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] VDatePicker "today" HTML element
2 participants