kenhyuwa / vue-tailwind-picker

:tada: Datepicker component for vue.js build with Tailwind CSS & dayjs date library
https://vue-tailwind-picker.netlify.app/
193 stars 38 forks source link

Add "selectedDate" props to display selected date #13

Closed jserranojunior closed 4 years ago

jserranojunior commented 4 years ago

Feature

Add "selectedDate" props to display selected date If "startDate" is earlier than "selectedDate", it enables the option to navigate between these dates without disabling.

Example of use:

<VueTailwindPicker :start-date="startDate" :selected-date="selectedDate" @change="(v) => selectedDate = v"

data(){ return:{ startDate: "2020-01-01", selectedDate: "2020-05-01", } }

I'm working on it to make a commit


Thanks for everything <3