Vuepic / vue3-date-time-picker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
158 stars 13 forks source link

Can we have weekPicker mode like monthPicker? #110

Closed sametsafak closed 2 years ago

sametsafak commented 2 years ago

Hello,

Thank you for the creating this beautiful picker and documentation.

In my project I have to select a week, therefore, as a workaround, I am using Datepicker like below

<Datepicker
    v-model="date"
    range
    auto-range="6"
    autoApply
    placeholder="Select a Week"
    :enableTimePicker="false"
    :disabledWeekDays="[0, 2, 3, 4, 5, 6]" >
</Datepicker>

Yes It solves the problem but if anyone wants to select a week while clicking middle of the week (let's say wednesday), it is not possible because of disabledWeekDays. For user experience, this not that perfect.

Currently we can use monthPicker Maybe we can have weekPicker also ^^

Or do you have another/better workaround?

Thanks a lot!

Jasenkoo commented 2 years ago

Yes, can be added, for now, I don't have any better suggestions :)