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
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
2 changed files with 2 additions and 0 deletions

View file

@ -39,6 +39,7 @@ In order to move participant stats to the event table for existing events, you n
- Improve Docker setup and docs
- Upgrade vue-cli to v4, change the way server params injection is made
- Improve some production ipv6 configuration
- Limited year range in the DatePicker
### Fixed
- Fix event URL validation and check if hostname is correct before showing it

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"
/>