Skip to content

Commit

Permalink
fix:ensure checkbox boolean value is correctly mapped with enum value…
Browse files Browse the repository at this point in the history
…s on change (#4045)
  • Loading branch information
SreenathSadupallyGoA authored Jan 30, 2025
1 parent 4a3384a commit c790133
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const CheckboxGroup = (props: CheckboxGroupProp): JSX.Element => {
text={enumValue}
testId={`${enumValue}-checkbox`}
onChange={(name: string, value: string) => {
handleChange(path, onChangeForCheckboxData(data, name, value));
handleChange(path, value === 'true' ? 'Yes' : 'No');
}}
/>
);
Expand Down

0 comments on commit c790133

Please sign in to comment.