Merge branch 'bug/limit-datepicker-year-range' into 'master'

Limit year range in the datepicker

See merge request framasoft/mobilizon!305
This commit is contained in:
Thomas Citharel 2019-11-05 17:58:07 +01:00
commit 799f31257b
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 - Improve Docker setup and docs
- Upgrade vue-cli to v4, change the way server params injection is made - Upgrade vue-cli to v4, change the way server params injection is made
- Improve some production ipv6 configuration - Improve some production ipv6 configuration
- Limited year range in the DatePicker
### Fixed ### Fixed
- Fix event URL validation and check if hostname is correct before showing it - Fix event URL validation and check if hostname is correct before showing it

View File

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