Closed eakenbor closed 1 year ago
When I initialize my date picker with a date, it does not appear until I manual pick the date. Default-value does not work either.
Here is my code:
<Datepicker v-model:value="date" type="date" format="DD MMM 'YY" value-type="format" placeholder="To" @change="calcDate()" :disabled-date=" (date) => date <new Date() " /> ... data(){ return { date: "2023-01-11T23:00:00.000Z" }}
Please @mengxiong10 or anyone, can you help with this? Is there something I am doing wrong? Thanks.
When you set the value-type, your date should be the type "DD MMM YY" (date: '11 Jan 23')
value-type
When I initialize my date picker with a date, it does not appear until I manual pick the date. Default-value does not work either.
Here is my code:
Please @mengxiong10 or anyone, can you help with this? Is there something I am doing wrong? Thanks.