diff --git a/packages/wow-ui/src/components/RadioGroup/RadioButton.tsx b/packages/wow-ui/src/components/RadioGroup/RadioButton.tsx index a2a044bf..05c749d7 100644 --- a/packages/wow-ui/src/components/RadioGroup/RadioButton.tsx +++ b/packages/wow-ui/src/components/RadioGroup/RadioButton.tsx @@ -48,9 +48,12 @@ const RadioButton = forwardRef( (event: KeyboardEvent) => { if (event.key === " ") { setPressed(true); + if (!selected) { + group.value = value; + } } }, - [setPressed] + [setPressed, group, value, selected] ); const handleKeyUp = useCallback(