Commit 1262fa39 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Enforce max daterange on VSA

parent fc50a42d
......@@ -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