Skip to content

Commit

Permalink
Make input autofocus as page reloads (#2581)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
  • Loading branch information
danilo-leal and ericfennis authored Feb 28, 2025
1 parent 6ae0475 commit 5a7c49d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/theme/components/base/InputSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const value = computed({
<Input
ref="input"
type="search"
autofocus
v-bind="$attrs"
v-model="value"
class="input-wrapper"
Expand Down

0 comments on commit 5a7c49d

Please sign in to comment.