Skip to content
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

Allow select the same day in a date range selection #65

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

raphaelrochap
Copy link
Contributor

Hello guys (again)!

Recently, I opened a Pull Request (#48 Remove condition that prevent to select same day), but unfortunally i could'nt review and rewrite the code, sorry for the late in that PR.

Well, as suggested by @uselessdev (in the PR quoted above), i choose to follow the approach to add a new property call allowSelectSameDay, that will allow the user to select the sameday in a Calendar, in the start and end dates.

I added too, a new example in the storybook, for the users see this property in action.

All the explanation of why i need this prop, its (again) on #48 PR.

Thanks! :D

@netlify
Copy link

netlify bot commented Aug 23, 2022

Deploy Preview for uselessdev-datepicker ready!

Name Link
🔨 Latest commit 2222338
🔍 Latest deploy log https://app.netlify.com/sites/uselessdev-datepicker/deploys/63061a1594c7cf0008c1e7a8
😎 Deploy Preview https://deploy-preview-65--uselessdev-datepicker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@raphaelrochap raphaelrochap changed the title Allow select the same day in a tage selection Allow select the same day in a date range selection Aug 24, 2022
@uselessdev uselessdev merged commit 5a8984a into uselessdev:main Aug 30, 2022
@uselessdev
Copy link
Owner

@all-contributors please add @raphaelrochap for code

@allcontributors
Copy link
Contributor

@uselessdev

I've put up a pull request to add @raphaelrochap! 🎉

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.

None yet

2 participants