Twipped / Kalendae

A javascript date picker that just works.
MIT License
1.99k stars 285 forks source link

Allows selecting blackout days when using range mode #63

Closed adnansorg closed 8 years ago

adnansorg commented 12 years ago

When using the mode: 'range' option alongside blackout dates, the range can be selected through the blackout dates.

Here's an example: http://jsfiddle.net/KBSd9/

mkascel commented 11 years ago

I'm running into a similar scenario using mode: 'multiple' while trying to create a read-only calendar. The selected dates are able to be unselected. I forked the above to show my scenario: http://jsfiddle.net/mkascel/6YXKE/3/

Twipped commented 8 years ago

This is expected behavior for range mode, as range only supports a single start and stop date. If the range excluded dates then it wouldn't be a range, it would be a multi-select.