Add start-date prop to force placing of date picker in date

This commit is contained in:
Sergio Crisostomo 2018-01-17 13:05:15 +01:00
parent 4c6836512e
commit 63bd0f7d3f
4 changed files with 12 additions and 3 deletions

View file

@ -39,6 +39,7 @@
:steps="steps"
:format="format"
:value="internalValue"
:start-date="startDate"
v-bind="ownPickerProps"
@ -204,6 +205,9 @@
type: Boolean,
default: false
},
startDate: {
type: Date
},
size: {
validator (value) {
return oneOf(value, ['small', 'large', 'default']);