Update Datepicker onSelectedDateChanged signature to include isClearAction parameter#1367
Update Datepicker onSelectedDateChanged signature to include isClearAction parameter#1367bvedad wants to merge 7 commits intothemesberg:mainfrom
Conversation
🦋 Changeset detectedLatest commit: 62b2525 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 |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe update involves enhancing the Changes
Possibly related issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
a38107e to
aa5ed39
Compare
|
|
I'm not sure... 🤔 Let me think. Update: Yeah, I think it makes sense. |
|
Also, this has |
@SutuSebastian I agree with you but the reason why I proposed this implementation is because at the moment clear button does not clear the date to be null, but it resets it to the default value. To me this is counterintuitive but if developers decide for some reason to implement it that way I am not planning to be a bottleneck. This approach is harmless and it allows us to set dates to null if we want. If you want to I can implement it so onSelectedDateChanged accept Date | null but then I will need to change implementation of clear from: to something like: and as well change code from: to something like below: |
Thanks for giving me this information. I have just generated changelog content and pushed it to this MR. |
I have just checked them and I have performed the necessary changes. |
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Update Datepicker onSelectedDateChanged signature to include isClearAction parameter
#1366
Summary by CodeRabbit