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.

Avoid a TS error

Andrey Okonetchnikovb73d2e203a4b
diff --git a/packages/design-system/src/components/text-field.tsx b/packages/design-system/src/components/text-field.tsx
index 1eff37b98c..40ff9d02fd 100644
--- a/packages/design-system/src/components/text-field.tsx
+++ b/packages/design-system/src/components/text-field.tsx
@@ -192,6 +192,7 @@ export const TextField = React.forwardRef<
</Flex>
)}
+ {/* @ts-expect-error - It seems like stitches provide a wrong type for the input element.*/}
<InputBase ref={inputRef} disabled={disabled} {...textFieldProps} />
{suffix && (