Skip to content

Commit

Permalink
feat: search from a character
Browse files Browse the repository at this point in the history
  • Loading branch information
krlz16 committed Nov 12, 2024
1 parent 3e0a0c8 commit 048790b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Search/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default {
},
onInput ({ event, value }) {
this.clearRequests()
if (!value || value.length < 2) return
if (!value) return
this.setValue(value)
this.fetchSearch({ value })
},
Expand Down

0 comments on commit 048790b

Please sign in to comment.