Skip to content

Commit

Permalink
fix: replace enum value by key in data-cy tag of BasicRadioInput
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Dec 1, 2023
1 parent 28c3e2f commit 9974b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inputs/BasicInputs/BasicRadioInput/BasicRadioInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const BasicRadioInput = (props) => {
key={option.key}
value={option.key}
control={
<Radio data-cy={`radio-button-${option.value}`} style={radioStyle} size="small" color="primary" />
<Radio data-cy={`radio-button-${option.key}`} style={radioStyle} size="small" color="primary" />
}
label={option.value}
/>
Expand Down

0 comments on commit 9974b40

Please sign in to comment.