Skip to content

Commit

Permalink
fix: fixed duplicate calls in FormRadioSet and FormCheckboxSet
Browse files Browse the repository at this point in the history
  • Loading branch information
PKulkoRaccoonGang committed Oct 10, 2023
1 parent 39d9676 commit 0d64b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/FormRadio.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const FormRadio = React.forwardRef(({
'pgn__form-control-disabled': radioInputProps.disabled,
})}
>
<RadioControl {...radioInputProps} ref={ref} />
<RadioControl ref={ref} className={controlClassName} {...props} />
<div>
<FormLabel className={labelClassName}>
{children}
Expand Down

0 comments on commit 0d64b76

Please sign in to comment.