Skip to content

Commit

Permalink
FIO-7225: added component type check
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-formio committed Dec 5, 2024
1 parent 9208d86 commit 905c79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/radio/Radio.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export default class RadioComponent extends ListComponent {
? _.get(item, this.component.valueProperty)
: item;

if (typeof value !== 'string') {
if (this.component.type === 'radio' && typeof value !== 'string') {
const uuid = uuidv4();
this.valuesMap.set(uuid, value);
return uuid;
Expand Down

0 comments on commit 905c79f

Please sign in to comment.