Skip to content

Commit

Permalink
Disable spellcheck in domain input field
Browse files Browse the repository at this point in the history
  • Loading branch information
raix committed Aug 18, 2024
1 parent 1b1d04f commit 172cb12
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ui/components/DomainInputField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@ export function DomainInputField({
{label && <Label>{label}</Label>}
<Group className={inputStyles({ isInvalid, isFocusVisible })}>
<div className="flex grow overflow-hidden">
<Input {...focusProps} isEmbedded placeholder={placeholder} autoComplete={autocomplete} autoCorrect="off" />
<Input
{...focusProps}
isEmbedded
placeholder={placeholder}
autoComplete={autocomplete}
autoCorrect="off"
spellCheck="false"
/>
</div>
<div className="flex w-fit items-center gap-1 px-1 text-muted-foreground text-xs">
{domain}
Expand Down

0 comments on commit 172cb12

Please sign in to comment.