fix: isolate server search from password autofill
This commit is contained in:
@@ -497,14 +497,16 @@ export function ServersPage({ session, operations, onNavigate }: PageComponentPr
|
||||
</form>
|
||||
</ManagementDialog>
|
||||
|
||||
<div className="server-toolbar" role="search">
|
||||
<div className="server-toolbar" role="search" data-form-type="other">
|
||||
<Search size={16} aria-hidden="true" />
|
||||
<input
|
||||
type="search"
|
||||
name="server-list-search"
|
||||
autoComplete="off"
|
||||
name="server-list-filter"
|
||||
autoComplete="new-password"
|
||||
data-1p-ignore="true"
|
||||
data-lpignore="true"
|
||||
data-bwignore="true"
|
||||
data-protonpass-ignore="true"
|
||||
value={keyword}
|
||||
placeholder="搜索服务器名称、ID 或插件"
|
||||
aria-label="搜索服务器"
|
||||
@@ -586,7 +588,7 @@ export function ServersPage({ session, operations, onNavigate }: PageComponentPr
|
||||
<input
|
||||
type="password"
|
||||
name="server-delete-password-confirmation"
|
||||
autoComplete="new-password"
|
||||
autoComplete="current-password"
|
||||
data-1p-ignore="true"
|
||||
data-lpignore="true"
|
||||
data-bwignore="true"
|
||||
|
||||
Reference in New Issue
Block a user