chore: add v-models

This commit is contained in:
Eduard Predescu 2024-04-15 22:02:26 +03:00
parent 54adf5760d
commit f006d768c0
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ watch(secondMonthPlaceholder, (_secondMonthPlaceholder) => {
</Button> </Button>
</PopoverTrigger> </PopoverTrigger>
<PopoverContent class="w-auto p-0"> <PopoverContent class="w-auto p-0">
<RangeCalendarRoot v-slot="{ weekDays }" class="p-3"> <RangeCalendarRoot v-slot="{ weekDays }" v-model="value" v-model:placeholder="placeholder" class="p-3">
<div <div
class="flex flex-col gap-y-4 mt-4 sm:flex-row sm:gap-x-4 sm:gap-y-0" class="flex flex-col gap-y-4 mt-4 sm:flex-row sm:gap-x-4 sm:gap-y-0"
> >

View File

@ -137,7 +137,7 @@ watch(secondMonthPlaceholder, (_secondMonthPlaceholder) => {
</Button> </Button>
</PopoverTrigger> </PopoverTrigger>
<PopoverContent class="w-auto p-0"> <PopoverContent class="w-auto p-0">
<RangeCalendarRoot v-slot="{ weekDays }" class="p-3"> <RangeCalendarRoot v-slot="{ weekDays }" v-model="value" v-model:placeholder="placeholder" class="p-3">
<div <div
class="flex flex-col gap-y-4 mt-4 sm:flex-row sm:gap-x-4 sm:gap-y-0" class="flex flex-col gap-y-4 mt-4 sm:flex-row sm:gap-x-4 sm:gap-y-0"
> >