bootstrap-year-calendar icon indicating copy to clipboard operation
bootstrap-year-calendar copied to clipboard

Removing MinDate MaxDate

Open agausachs opened this issue 5 years ago • 1 comments

If I set minDate or maxDate, how can I remove it after, like when calendar is initialized by default?

I tested, setMaxDate(null) but does nothing.

Thanks!

agausachs avatar Jul 10 '18 07:07 agausachs

Indeed, the setMinDate and setMaxDate methods expect a date object, so null is not managed. I keep this issue open in order to fix in a future version. For now you can just set a the max date using a date far in the future.

Paul-DS avatar Oct 04 '18 18:10 Paul-DS