longbill/jquery-date-range-picker

Change from Date range to single date

Opened this issue · 1 comments

I am trying to make the date range change from a multi date to a singleDate based on a checkbox selection.

How would i go about this?

I think the only way to achieve this would be to destroy the datepicker via the exposed destroy method and re-initialize it using the desired properties.

I'm closing the issue since I consider the question answered, but please continue the discussion here if you feel like the answere is not solving your issue.