Skip to content

Conversation

@zomchak-code
Copy link
Contributor

Fix for #1873.

This PR makes sure for various date inputs that:
In case current date is outside of minValue maxValue range - default placeholder will be the closest allowed value to current date.

@changeset-bot
Copy link

changeset-bot bot commented Oct 31, 2025

🦋 Changeset detected

Latest commit: 3695dd9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
bits-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Oct 31, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
bits-ui ✅ Ready (View Log) Visit Preview 3695dd9

@huntabyte
Copy link
Owner

Hey thanks for this! Would you mind adding tests that fail without this behavior but pass with it to ensure a regression isn't accidentally introduced in the future?

@zomchak-code
Copy link
Contributor Author

@huntabyte done

@zomchak-code
Copy link
Contributor Author

@huntabyte please let me know what else can I do to help get this over the line

@huntabyte
Copy link
Owner

Nothing more needed. Will give this another review tomorrow and merge/release. Thanks a ton for this!

Copy link
Owner

@huntabyte huntabyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@huntabyte huntabyte merged commit 8932716 into huntabyte:main Nov 10, 2025
6 checks passed
@github-actions github-actions bot mentioned this pull request Nov 10, 2025
@zomchak-code zomchak-code deleted the fix/date-default-placeholder branch November 10, 2025 03:48
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.

2 participants