Skip to content

fix(time-picker): allow min and max to wrap around midnight #963

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

Merged
merged 3 commits into from
Jul 24, 2025

Conversation

DRiFTy17
Copy link
Collaborator

@DRiFTy17 DRiFTy17 commented Jul 22, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added/updated: N
  • Docs have been added/updated: N
  • Does this PR introduce a breaking change? N
  • I have linked any related GitHub issues to be closed when this PR is merged? N

Describe the new behavior?

Min and max values that wrap around midnight will now show the correct options in the dropdown, and allow for values within the range defined by the min and max values.

Additionally, I also updated the min and max setters to dispatch the change event if changing the min/max values causes the time value to be removed.

@DRiFTy17 DRiFTy17 requested a review from a team as a code owner July 22, 2025 14:18
@DRiFTy17 DRiFTy17 added patch Increment the patch version when merged storybook-preview labels Jul 22, 2025
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Contributor

View Storybook Deployment
pr/tyler-technologies-oss:fix-time-picker-min-max-wrap

@DRiFTy17 DRiFTy17 requested a review from Ross-Blakeney July 22, 2025 15:26
@DRiFTy17 DRiFTy17 merged commit 9e79b2f into main Jul 24, 2025
10 checks passed
@DRiFTy17 DRiFTy17 deleted the fix-time-picker-min-max-wrap branch July 24, 2025 14:03
Copy link
Contributor

🚀 PR was released in v3.10.1 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released. storybook-preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants