Disable autocomplete for user prompt input field
This commit is contained in:
parent
275146fa0b
commit
6e6a65ce9e
1 changed files with 1 additions and 0 deletions
|
|
@ -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 && (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue