1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-01-13 22:42:02 +01:00

fix: annoying browser suggestions (#2160)

I was looking for notes and then when i was searching svelte i couldn't
see the possible search hits.so i turned autocomplete off now it works
like charm.
This commit is contained in:
Aarsh 2024-09-24 18:54:33 +05:30 committed by GitHub
parent 25eaa9a78c
commit db4b9363e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,7 @@ placeholder = placeholder.replace('{size}', etc.advertisedSheetCount.toString())
{...(props.isLive ? { autofocus: true } : {})}
data-js-search-input
placeholder={placeholder}
autocomplete="off"
/>
)
}