From 82bc1d5da575d979ca65a61abf104f282746b5bb Mon Sep 17 00:00:00 2001 From: MystiPanda Date: Tue, 2 Jul 2024 18:55:11 +0800 Subject: [PATCH] chore: disable autocomplete --- src/components/base/base-search-box.tsx | 2 +- src/components/base/base-styled-text-field.tsx | 2 +- src/components/profile/rules-editor-viewer.tsx | 1 + src/components/proxy/proxy-head.tsx | 3 ++- src/components/setting/mods/clash-port-viewer.tsx | 10 +++++----- src/components/setting/mods/controller-viewer.tsx | 4 ++-- src/components/setting/mods/misc-viewer.tsx | 4 ++-- src/components/setting/mods/sysproxy-viewer.tsx | 5 +++-- src/components/setting/mods/tun-viewer.tsx | 6 +++--- src/components/setting/mods/web-ui-item.tsx | 2 +- src/components/setting/setting-clash.tsx | 2 +- 11 files changed, 22 insertions(+), 19 deletions(-) diff --git a/src/components/base/base-search-box.tsx b/src/components/base/base-search-box.tsx index 771002e..f3f8d53 100644 --- a/src/components/base/base-search-box.tsx +++ b/src/components/base/base-search-box.tsx @@ -96,11 +96,11 @@ export const BaseSearchBox = styled((props: SearchProps) => { return ( { return ( { )} {ruleType.name !== "RULE-SET" && ruleType.name !== "SUB-RULE" && ( { {textState === "filter" && ( { {textState === "url" && ( ((props, ref) => { @@ -146,8 +146,8 @@ export const ClashPortViewer = forwardRef((props, ref) => { @@ -169,8 +169,8 @@ export const ClashPortViewer = forwardRef((props, ref) => { @@ -193,8 +193,8 @@ export const ClashPortViewer = forwardRef((props, ref) => { @@ -218,8 +218,8 @@ export const ClashPortViewer = forwardRef((props, ref) => { diff --git a/src/components/setting/mods/controller-viewer.tsx b/src/components/setting/mods/controller-viewer.tsx index 3af15e0..80611ed 100644 --- a/src/components/setting/mods/controller-viewer.tsx +++ b/src/components/setting/mods/controller-viewer.tsx @@ -48,8 +48,8 @@ export const ControllerViewer = forwardRef((props, ref) => { ((props, ref) => { ((props, ref) => { /> ((props, ref) => { ((props, ref) => { ((props, ref) => { <> ((props, ref) => { ((props, ref) => { ((props, ref) => { ((props, ref) => { { <> setEditValue(e.target.value)} placeholder={t("Support %host, %port, %secret")} - autoComplete="off" /> { } >