Skip to content

Commit

Permalink
fix: 개별 RadioButton readonly 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
hamo-o committed Jun 5, 2024
1 parent f1d8477 commit 738cffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wow-ui/src/components/RadioGroup/RadioButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const RadioButton = ({ disabled = false, value, label }: RadioButtonProps) => {
aria-label={label}
checked={selected}
data-pressed={pressed}
data-readonly={group.disabled && selected}
data-readonly={(group.disabled || disabled) && selected}
disabled={(group.disabled && !selected) || disabled}
name={group.name}
type="radio"
Expand Down

0 comments on commit 738cffb

Please sign in to comment.