🔧 chore: add htmlFor to label in radioItem
This commit is contained in:
parent
ab77ce681a
commit
e9d38e0d3b
@ -67,7 +67,10 @@ export const RadioItem = ({
|
||||
const componentId = id ?? kebabCaseLabel;
|
||||
|
||||
return (
|
||||
<label className={wrapper({ className: wrapperProps?.className })}>
|
||||
<label
|
||||
htmlFor={componentId}
|
||||
className={wrapper({ className: wrapperProps?.className })}
|
||||
>
|
||||
<RadixRadio {...props} className={radio({ className })} id={componentId}>
|
||||
<RadixIndicator
|
||||
forceMount
|
||||
|
Loading…
Reference in New Issue
Block a user