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

Stop incrementing date when decrement hour is pressed (Min Date defined, hour format set to 12) #15423

Merged
merged 5 commits into from May 3, 2024

Conversation

RogueTea
Copy link
Contributor

@RogueTea RogueTea commented May 2, 2024

Fixes #15286
Solve for #15286

The timer should now loop back to valid times on min date once it has reached min.sethours(). For instance if the min set hour is 17 aka 5PM, when hour is decremented it should become 11PM ( this enhancement can be removed but thought it would improve accessibility by reducing the number of clicks required to reach desired valid time)

Additionally, I've added a check for valid date ( if min date and/or max date is present) when entering dates manually into the calendar input.

 remove test

consideration for written input

fixed code

tests

prettier fix

 remove test
revert timedoc back to initial

 revert picklist test and reintroduce calendar test
Copy link

vercel bot commented May 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview May 2, 2024 8:04am

@cetincakiroglu cetincakiroglu merged commit 2b3049b into primefaces:master May 3, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calendar: minDate bug when using 12 hourFormat
2 participants