Closed CavalcanteLeo closed 4 years ago
I am using it in another way, to select a period of time and show all reports of that period.
So, what I need is enable all past date and disable all future dates. Further more, would be grat if i would set which period
Is it possible?
i tried something like this, but didn't work:
<HotelDatePicker format="DD/MM/YYYY" :startDate="startDate" :endDate="endDate" />
import moment from "moment"; computed: { startDate() { return moment().subtract(2, "years"); }, endDate() { return moment(); } },
My bad, i wasn't passing a data object.
I am using it in another way, to select a period of time and show all reports of that period.
So, what I need is enable all past date and disable all future dates. Further more, would be grat if i would set which period
Is it possible?
i tried something like this, but didn't work: