tjeerdintveen/Vurig-Calendar

Disable dates to be choosen

Opened this issue · 2 comments

If let say, I develop an app for booking using the calendar, and the app only allow booking from today until next 2 months. Is it possible to disable dates smaller than today and dates greater than 2 months later? Any helps would be really appreciate!

Sorry, the calendar is not supported. I recommend to use it for education purposes!

kind regards

On Oct 1, 2013 (w40), at 11:51 AM, symmlbh <notifications@github.commailto:notifications@github.com> wrote:

If let say, I develop an app for booking using the calendar, and the app only allow booking from today until next 2 months. Is it possible to disable dates smaller than today and dates greater than 2 months later? Any helps would be really appreciate!


Reply to this email directly or view it on GitHubhttps://github.com//issues/23.

I'm doing this right now. I'm not allowing my users to scroll past today's date (because they can't enter data past todays date). In showNextMonth compare the self.currentDate to today's date and see if it's past by 2 months