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

Today Button is hidden for maxDate with value as new Date() #7598

Closed
suhailk4 opened this issue Jan 13, 2025 · 0 comments · Fixed by #7597 or #7601
Closed

Today Button is hidden for maxDate with value as new Date() #7598

suhailk4 opened this issue Jan 13, 2025 · 0 comments · Fixed by #7597 or #7601
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@suhailk4
Copy link
Contributor

Describe the bug

Today Button is hidden for maxDate with value as new Date()
Since component could execute at slightly different times so the comparison function to hide and show always hides Today Button for component with value as new Date().

Reproducer

No response

System Information

Prime react version 10.9.1

Steps to reproduce the behavior

Pass maxDate as new Date() .
Actual Result: Today Button is hidden

Expected behavior

Today Button must be visible

@suhailk4 suhailk4 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 13, 2025
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 13, 2025
@melloware melloware added this to the 10.9.2 milestone Jan 13, 2025
@suhailk4 suhailk4 removed their assignment Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
2 participants