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.

decouple input from selected item, don't save on blur

Oleg Isonen25c92c16d7fe
diff --git a/apps/designer/app/designer/shared/fonts-manager/fonts-manager.tsx b/apps/designer/app/designer/shared/fonts-manager/fonts-manager.tsx
index c81c98db27..a11a891234 100644
--- a/apps/designer/app/designer/shared/fonts-manager/fonts-manager.tsx
+++ b/apps/designer/app/designer/shared/fonts-manager/fonts-manager.tsx
@@ -66,7 +66,7 @@ const groupItems = (items: Array<Item>) => {
const NotFound = () => {
return (
<Flex align="center" justify="center" css={{ height: 100 }}>
- Not Found
+ Font not found
</Flex>
);
};
@@ -122,7 +122,7 @@ export const FontsManager = ({ value, onChange }: FontsManagerProps) => {
<Flex css={{ py: "$2", px: "$3" }} gap="2" direction="column">
<AssetUpload type="font" />
<TextField
- {...getInputProps()}
+ {...getInputProps({ value: undefined, onBlur: undefined })}
type="search"
autoFocus
placeholder="Search"