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.

Omit conflicting props

Mateusz Burzyńskif6b43e9b40de
diff --git a/packages/design-system/src/components/text-field.tsx b/packages/design-system/src/components/text-field.tsx
index a258188cc4..da3716da3b 100644
--- a/packages/design-system/src/components/text-field.tsx
+++ b/packages/design-system/src/components/text-field.tsx
@@ -147,7 +147,11 @@ const TextFieldBase = styled("div", {
});
type TextFieldProps = Omit<
- React.ComponentProps<typeof TextFieldBase> & React.ComponentProps<"input">,
+ Omit<
+ React.ComponentProps<typeof TextFieldBase>,
+ "onChange" | "onFocus" | "onBlur"
+ > &
+ React.ComponentProps<"input">,
"prefix"
> & {
inputRef?: React.Ref<HTMLInputElement>;