Skip to content
This repository was archived by the owner on Mar 14, 2021. It is now read-only.
This repository was archived by the owner on Mar 14, 2021. It is now read-only.

Doesn't work with dayjs@1.10.0 #22

@iShotFT

Description

@iShotFT

While using this package I've noticed that when you use version 1.10.0 (currently latest release) of dayjs this package stops working. I've not put much thought into this and reverted back to using 1.9.7 after which my application started functioning again.

Command used to downgrade: npm install dayjs@1.9.7 --save

app.js:

import VueTailwindPicker from 'vue-tailwind-picker'
import 'dayjs/locale/nl-be';

EventCreate.vue:

<VueTailwindPicker :formatDate="'DD-MM-YYYY'"
                   :formatDisplay="'DD-MM-YYYY'"
                   :selectedDate="form.day"
                   :start-from-monday="true"
                   :startDate="$date().format('DD-MM-YYYY')"
                   class="z-50"
                   @change="(v) => form.day = v">
    <jet-input id="day" v-model="form.day" class="mt-1 block w-full"
               type="text"/>
</VueTailwindPicker>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions