File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ onKeyStroke(
147147 class =" max-w-sm"
148148 :class =" { 'max-w-md': !isSearchExpanded }"
149149 compact
150- v-model:search-query =" searchQuery"
150+ v-model =" searchQuery"
151151 @submit =" handleSearchSubmit"
152152 @focus =" handleSearchFocus"
153153 @blur =" handleSearchBlur"
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22defineProps <{
3- searchQuery: string
43 compact? : boolean
54}>()
65
@@ -10,7 +9,7 @@ const emit = defineEmits<{
109 (e : ' focus' ): void
1110}>()
1211
13- const searchQuery = defineModel <string >(' searchQuery ' , {
12+ const searchQuery = defineModel <string >({
1413 default: ' ' ,
1514})
1615
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ defineOgImageComponent('Default', {
5555 <SearchBox
5656 class =" max-w-xl motion-safe:animate-slide-up motion-safe:animate-fill-both"
5757 style =" animation-delay : 0.2s "
58- v-model:search-query =" searchQuery"
58+ v-model =" searchQuery"
5959 @submit =" handleSearchSubmit"
6060 />
6161
You can’t perform that action at this time.
0 commit comments