From 6e6a65ce9e48229b676aedc9b3fae95650997250 Mon Sep 17 00:00:00 2001 From: yangdx Date: Thu, 25 Sep 2025 18:01:14 +0800 Subject: [PATCH] Disable autocomplete for user prompt input field --- lightrag_webui/src/components/ui/UserPromptInputWithHistory.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/lightrag_webui/src/components/ui/UserPromptInputWithHistory.tsx b/lightrag_webui/src/components/ui/UserPromptInputWithHistory.tsx index d9fedb4b..941415b2 100644 --- a/lightrag_webui/src/components/ui/UserPromptInputWithHistory.tsx +++ b/lightrag_webui/src/components/ui/UserPromptInputWithHistory.tsx @@ -122,6 +122,7 @@ export default function UserPromptInputWithHistory({ onKeyDown={handleKeyDown} onClick={handleInputClick} placeholder={placeholder} + autoComplete="off" className={cn(isHovered && history.length > 0 ? 'pr-5' : 'pr-2', 'w-full', className)} /> {isHovered && history.length > 0 && (