From 905c79ff063670b92112ba740018209c56e536f8 Mon Sep 17 00:00:00 2001 From: Roman Letsuk Date: Thu, 5 Dec 2024 17:14:26 +0200 Subject: [PATCH] FIO-7225: added component type check --- src/components/radio/Radio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/radio/Radio.js b/src/components/radio/Radio.js index 2209afbce4..35195262bc 100644 --- a/src/components/radio/Radio.js +++ b/src/components/radio/Radio.js @@ -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;