Disable autocomplete for user prompt input field

This commit is contained in:
yangdx 2025-09-25 18:01:14 +08:00
parent 275146fa0b
commit 6e6a65ce9e

View file

@ -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 && (