mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +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
|
||||
placeholder="Search"
|
||||
dir="auto"
|
||||
autocomplete="off"
|
||||
autocorrect="off"
|
||||
autocapitalize="off"
|
||||
onSearch={(e) => {
|
||||
if (!e.target.value) {
|
||||
setSearchParams({});
|
||||
|
|
Loading…
Reference in a new issue