Selection mode
Single date 1.0.0+
<date-picker v-model="date" mode="single"/>
Output: {{date.mode.single}}
Range date 1.0.0+
<date-picker v-model="date" mode="range"/>
Output: {{date.mode.range}}
I'm suggesting when using range mode, set the autoSubmit
value to false
.
See this here!
The default value of mode prop is "range"