Commit c9a9e29c authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'enforce-max-daterange-on-vsa' into 'master'

Enforce max daterange on VSA

See merge request gitlab-org/gitlab!25678
parents beeaf441 1262fa39
......@@ -33,6 +33,13 @@ export default {
rerquired: false,
default: null,
},
maxDate: {
type: Date,
required: false,
default() {
return new Date();
},
},
maxDateRange: {
type: Number,
required: false,
......@@ -73,6 +80,7 @@ export default {
:default-end-date="endDate"
:default-min-date="minDate"
:max-date-range="maxDateRange"
:default-max-date="maxDate"
theme="animate-picker"
start-picker-class="js-daterange-picker-from d-flex flex-column flex-lg-row align-items-lg-center mr-lg-2 mb-2 mb-md-0"
end-picker-class="js-daterange-picker-to d-flex flex-column flex-lg-row align-items-lg-center"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment