Skip to content

Commit bbcf406

Browse files
authored
Merge pull request #1474 from Bilb/fix-radio-buttons-add-data-checked
fix: expose the checked/disabled state of fake radio buttons in DOM
2 parents 9480e23 + 66e1ea2 commit bbcf406

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ts/components/basic/SessionRadio.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ function RadioButton({
6666
$diameterRadioBorder={diameterRadioBorder}
6767
style={style}
6868
aria-label={ariaLabel}
69+
data-checked={selected}
70+
data-disabled={disabled}
6971
>
7072
<StyledSelectedInner
7173
$disabled={disabled}

0 commit comments

Comments
 (0)