longbill / jquery-date-range-picker

A jQuery plugin that allows user to select a date range
MIT License
1.12k stars 579 forks source link

Toggle disabled dates #460

Closed RussellJonesPersonal closed 5 years ago

RussellJonesPersonal commented 5 years ago

Sorry, I asked this previously but my issue isn't resolved.

I need to be able to add buttons (as in example 27 on https://longbill.github.io/jquery-date-range-picker/) which allow users to toggle the disabled status of days (as in example 26).

For example, a user might need to disable Saturday and Sunday, and a different user (or the same user in a different scenario) might need to disable Tuesday and Friday.

Could anybody help me? Is this feature supported, and if so, could somebody give me a clue how to implement it?

Many thanks in advance.

monovertex commented 5 years ago

Hi @RussellJonesPersonal. I just answered your question here. Please avoid opening new issues, we can continue the discussion in that initial issue you opened, but I am not always available to answer, so sorry about the delay. If you feel that the answer I gave is still not helping you resolve the issue, please re-open that initial issue.