Skip to content

Commit

Permalink
fix(react): adds name to radio button input (#11595)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
abbeyhrt and kodiakhq[bot] committed Jun 13, 2022
1 parent d05a463 commit 8eb0902
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const RadioButton = React.forwardRef(function RadioButton(
ref={ref}
disabled={disabled}
value={value}
name={name}
/>
<label htmlFor={uniqueId} className={`${prefix}--radio-button__label`}>
<span className={`${prefix}--radio-button__appearance`} />
Expand Down

0 comments on commit 8eb0902

Please sign in to comment.