-
Notifications
You must be signed in to change notification settings - Fork 89
fix(date-picker): honor minAsDate & maxAsDate when set
#12706
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
jcfranco
merged 10 commits into
dev
from
Amretasre002762670/10329-minAsDate-&-maxAsDate-ignored-date-picker
Aug 21, 2025
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
cdcb06a
fix(date-picker): validate minAsDate & maxAsDate before assignment
Amretasre002762670 850fd02
Merge branch 'dev' into Amretasre002762670/10329-minAsDate-&-maxAsDat…
Amretasre002762670 a5672e1
tidy up
jcfranco 26beef1
restore min/max prop sync behavior
jcfranco 1b293d7
tidy up
jcfranco a037801
tidy up
jcfranco b923c7b
ensure current date reflects user local time
jcfranco e2ee807
tidy up
jcfranco 1d4a35f
tidy up
jcfranco f8fed5e
consolidate value & range update logic in willUpdate
jcfranco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
⏳ 👍
Uh oh!
There was an error while loading. Please reload this page.
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.
SideNote: Few more tests could be updated to use
getLocalDayDate&toDateOnlyIsomethods in conjunction to make tests more robust. Can be handled in a separate PR.List of tests in date-picker:
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.
I'll submit a separate PR for this. ✨🧹✨