Limit year range in the datepicker

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-11-04 17:07:07 +01:00
parent e799b8a77f
commit 9f1d8b9daf
2 changed files with 2 additions and 0 deletions

View File

@@ -25,6 +25,7 @@
:min-date="minDate"
v-model="dateWithoutTime"
:placeholder="$t('Click to select')"
:years-range="[-2,10]"
icon="calendar"
class="is-narrow"
/>