Skip to content

Commit 2df63c6

Browse files
fix: turn off various text mangling features in search input (#88)
1 parent b6f319c commit 2df63c6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/pages/search.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,10 @@ defineOgImageComponent('Default', {
366366
type="search"
367367
name="q"
368368
placeholder="search packages…"
369+
autocapitalize="off"
369370
autocomplete="off"
371+
autocorrect="off"
372+
spellcheck="false"
370373
class="w-full max-w-full bg-bg-subtle border border-border rounded-lg pl-8 pr-4 py-3 font-mono text-base text-fg placeholder:text-fg-subtle transition-colors duration-300 focus:(border-border-hover outline-none) appearance-none"
371374
@focus="isSearchFocused = true"
372375
@blur="isSearchFocused = false"

0 commit comments

Comments
 (0)