mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-12 00:48:50 +01:00
Disable all the auto*** in search field
This commit is contained in:
parent
a816b69ee9
commit
1f584f945a
1 changed files with 3 additions and 0 deletions
|
@ -70,6 +70,9 @@ const SearchForm = forwardRef((props, ref) => {
|
||||||
// autofocus
|
// autofocus
|
||||||
placeholder="Search"
|
placeholder="Search"
|
||||||
dir="auto"
|
dir="auto"
|
||||||
|
autocomplete="off"
|
||||||
|
autocorrect="off"
|
||||||
|
autocapitalize="off"
|
||||||
onSearch={(e) => {
|
onSearch={(e) => {
|
||||||
if (!e.target.value) {
|
if (!e.target.value) {
|
||||||
setSearchParams({});
|
setSearchParams({});
|
||||||
|
|
Loading…
Reference in a new issue