Skip to content

Commit d705bd1

Browse files
authored
fix: Disable autocomplete, autocorrect, and spellcheck in prompt input field (#139)
Disabled autocomplete, autocorrect, and spellcheck in prompt input field per suggested fix in #138 Closes #138
1 parent a8aac2f commit d705bd1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/ChatInput.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ export function ChatInput({
7171
required
7272
disabled={disabled}
7373
rows={1}
74+
autoComplete="off"
75+
autoCorrect="off"
76+
autoCapitalize="off"
77+
spellCheck="false"
7478
className="w-full resize-none rounded-lg border-0 pr-12 text-base placeholder:text-gray-500 focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:focus:ring-indigo-400 disabled:opacity-50 transition-all"
7579
/>
7680
<Button

0 commit comments

Comments
 (0)