Paul-DS / bootstrap-year-calendar

[DEPRECATED] A fully customizable year calendar widget, for boostrap !
Apache License 2.0
293 stars 243 forks source link

Removing MinDate MaxDate #217

Open agausachs opened 6 years ago

agausachs commented 6 years ago

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!

Paul-DS commented 6 years ago

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.