I have a requirement to use multiple dates in vuetify datepicker with 'MM/DD/YYYY' format with date selected as todays date. However when I use moment to choose current date and format it to 'MM/DD/YYYY' it is giving me an error of invalid time and displays blank datepicker. Here's the codepen : https://codepen.io/raunaktwits/pen/rNLBgQN?editors=1010
<v-app id="inspire">
<v-layout row wrap>
<v-flex xs12 sm6>
<v-date-picker
v-model="dates"
multiple
></v-date-picker>
</v-flex>
<v-flex xs12 sm6>
<v-menu
ref="menu"
v-model="menu"
:close-on-content-click="false"
:nudge-right="40"
:return-value.sync="dates"
lazy
transition="scale-transition"
offset-y
full-width
min-width="290px"
>
<template v-slot:activator="{ on }">
<v-combobox
v-model="dates"
multiple
chips
small-chips
label="Multiple picker in menu"
prepend-icon="event"
readonly
v-on="on"
></v-combobox>
</template>
<v-date-picker v-model="dates" multiple no-title scrollable>
<v-spacer></v-spacer>
<v-btn flat color="primary" @click="menu = false">Cancel</v-btn>
<v-btn flat color="primary" @click="$refs.menu.save(dates)">OK</v-btn>
</v-date-picker>
</v-menu>
</v-flex>
</v-layout>
</v-app>
</div>
new Vue({
el: '#app',
data: () => ({
dates: [moment().format('MM/DD/YYYY'), moment().format('MM/DD/YYYY')],
menu: false
})
})