1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-15 21:44:51 +02: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

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"
/>
)
}