Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Setting min and max dates for <vaadin-date-picker>
Q: So how do I set a min or max date for <vaadin-date-picker> 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 <vaadin-date-picker> v1.2.0-alpha :P