Vurig-Calendar icon indicating copy to clipboard operation
Vurig-Calendar copied to clipboard

Disable dates to be choosen

Open symmlbh opened this issue 11 years ago • 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!

symmlbh avatar Oct 01 '13 09:10 symmlbh

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 <[email protected]mailto:[email protected]> 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/TjeerdVurig/Vurig-Calendar/issues/23.

tjeerdintveen avatar Oct 01 '13 10:10 tjeerdintveen

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

holster21 avatar Sep 17 '14 17:09 holster21