Setting min and max dates for <vaadin-date-picker>


There have been questions about this, so here’s a thread to follow the discussion.

Q: So how do I set a min or max date for do allow user to select dates only from a certain range?

A: In the current version (1.0.0) you can’t, unfortunately. The good news is that the feature is on the backlog (see
https://github.com/vaadin/vaadin-date-picker/issues/30
) and will be available.

Until then, you need to stick using a custom validator:
https://vaadin.com/docs/-/part/elements/vaadin-date-picker/vaadin-date-picker-validators.html

Good news Sauli! This was already released in v1.2.0-alpha :stuck_out_tongue: