Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Disable spellcheck (#1907)

Oleg Isonenc1243d6df7e2
diff --git a/packages/design-system/src/components/input-field.tsx b/packages/design-system/src/components/input-field.tsx
index c2bb883240..af25dc3aa2 100644
--- a/packages/design-system/src/components/input-field.tsx
+++ b/packages/design-system/src/components/input-field.tsx
@@ -159,6 +159,7 @@ const Input = forwardRef(
) => (
<input
{...props}
+ spellCheck={false}
data-input-field-input // to distinguish from potential other inputs in prefix/suffix
data-color={color}
disabled={disabled}
diff --git a/packages/design-system/src/components/text-area.tsx b/packages/design-system/src/components/text-area.tsx
index 5db63272a7..f43364687e 100644
--- a/packages/design-system/src/components/text-area.tsx
+++ b/packages/design-system/src/components/text-area.tsx
@@ -66,6 +66,7 @@ export const TextArea = forwardRef(
return (
<textarea
+ spellCheck={false}
className={style({
css: { height, minHeight: height, ...css },
state,