Disable all the auto*** in search field

pull/228/head
Lim Chee Aun 2023-09-22 20:39:05 +08:00
rodzic a816b69ee9
commit 1f584f945a
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -70,6 +70,9 @@ const SearchForm = forwardRef((props, ref) => {
// autofocus
placeholder="Search"
dir="auto"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
onSearch={(e) => {
if (!e.target.value) {
setSearchParams({});