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.

enable selection by label

Oleg Isonenbfb55f054072
diff --git a/app/designer/features/props-panel/control.tsx b/app/designer/features/props-panel/control.tsx
index 62c275bd79..947464cdab 100644
--- a/app/designer/features/props-panel/control.tsx
+++ b/app/designer/features/props-panel/control.tsx
@@ -80,8 +80,8 @@ const RadioControl = ({
>
{options.map((value) => (
<Flex align="center" gap="1" key={value}>
- <Radio value={value} />
- <Label>{value}</Label>
+ <Radio value={value} id={value} />
+ <Label htmlFor={value}>{value}</Label>
</Flex>
))}
</RadioGroup>