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

feat(disable): allow week days to be removed from selection #97

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

arcifius
Copy link

Allowing Weekdays to Be Disabled from Selection

Sometimes we'll want to prevent users from selecting specific weekdays, for example, weekend days. By using disabledDays, we can disable specific days based on any external rules.

It seems to be a useful feature, so I wanted to open this PR. If it makes sense, feel free to merge 🙌🏼
I appreciate your time in developing this cross-platform library. Keep up the great work!

If something is not good, I'm also open to adjusting it so we can merge the feature 👍🏼

Demo ( disabled Saturday & Sunday )

image

@JHPG
Copy link
Contributor

JHPG commented Jul 16, 2024

It was a great addition, but I needed a more flexible approach, like adding holidays. To link, I've opened this very similar intent PR.

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