Set the min date and max date for Calendar

Is it possible to set the min date and max date for the calendar (PopUpDateField component)…?
Currently, the calendar can go back to -100000BC too. I would like to restrict the date range, so that user can select a date with in the date range…

Does vaadin’s out of box features and add-ons have this feature…?

come on floks… more than 20 views but still no clue about this issue…? -_-

The out-of-the-box-calendar doesn’t support this, but the StyleCalendar-Addon does.

Hi,

I totally have a clue; the answer is no, it is not currently possible to set the min date and max date for the calendar.

There is an outstanding ticket
#6241
for this feature.

Cheers,

Charles.

StyleCalendar supports min/max, for the core DateField there is #6241 and for the Calendar add-on please create an enhancement ticket
here
.

Great. Thanks a lot for all your help. I will give it a try with StyleCalendar. :slight_smile: