Skip to content

Commit

Permalink
use v-model for date
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaomiDEV committed Aug 5, 2024
1 parent cc30035 commit 646e568
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/options/FrontHistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@
showCancelButton="focus" showClearButton="focus" :spellcheck="false" v-model="search" />
</IonToolbar>
<div class="container" v-if="isCalendarView">
<IonDatetime presentation="date" :firstDayOfWeek="firstWeekOfDayIsSunday ? 0 : 1"
@ionChange="(e) => date = e.detail.value as string" />
<IonDatetime presentation="date" :firstDayOfWeek="firstWeekOfDayIsSunday ? 0 : 1" v-model="date" />
</div>
</IonHeader>

Expand Down

0 comments on commit 646e568

Please sign in to comment.