-
-
Notifications
You must be signed in to change notification settings - Fork 177
use minValue and maxValue to generate a defaultPlaceholder for date inputs #1874
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
use minValue and maxValue to generate a defaultPlaceholder for date inputs #1874
Conversation
🦋 Changeset detectedLatest commit: 3695dd9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
ad608e9 to
67665cc
Compare
67665cc to
4b92e14
Compare
|
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? |
|
@huntabyte done |
|
@huntabyte please let me know what else can I do to help get this over the line |
|
Nothing more needed. Will give this another review tomorrow and merge/release. Thanks a ton for this! |
huntabyte
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Fix for #1873.
This PR makes sure for various date inputs that:
In case current date is outside of
minValuemaxValuerange - default placeholder will be the closest allowed value to current date.