We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I pass a dateValue of today, but make the start date last month, it ignores that.
Any way around this?
<template> <litepie-datepicker v-model="dateValue" :start-from="startFrom" :formatter="formatter" /> </template> <script lang="ts" setup> import LitepieDatepicker from 'litepie-datepicker' const { $dayjs } = useNuxtApp() const dateValue = ref([ $dayjs().format('MM-DD-YYYY'), $dayjs().format('MM-DD-YYYY'), ]) const formatter = ref({ date: 'MM-DD-YYYY', month: 'MMM', }) const current = new Date() const startFrom = ref(new Date(current.setMonth(current.getMonth()-1))) </script>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I pass a dateValue of today, but make the start date last month, it ignores that.
Any way around this?
The text was updated successfully, but these errors were encountered: