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

Is it possible to disable certain dates? #18

Open
smarteertech opened this issue Oct 22, 2019 · 2 comments
Open

Is it possible to disable certain dates? #18

smarteertech opened this issue Oct 22, 2019 · 2 comments

Comments

@smarteertech
Copy link

We want to disable certain date dynamically. Like, disable all Mondays and Wednesdays so that it cannot be selected or display only Tuesdays.

Is there a way to achieve this?

@adamstyrc
Copy link
Owner

adamstyrc commented Oct 22, 2019

Hi!

Sure, I e.g. used it in my own app:
https://github.com/adamstyrc/parking-app

so I make a custom cell drawing with:

dayTileBuilder: CustomDayTileBuilder()

and implement

onTap: (date) {
      //your code to neglect particular dates
  }

;)

@adamstyrc
Copy link
Owner

adamstyrc commented Oct 22, 2019 via email

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

No branches or pull requests

2 participants