From 5851e22a0b819e11a1a20f0a8019737290d06834 Mon Sep 17 00:00:00 2001 From: Katrin Khilko Date: Wed, 30 Oct 2024 16:51:52 +0300 Subject: [PATCH] FIO-9205: fixed labels in select filter feature --- src/components/select/Select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/select/Select.js b/src/components/select/Select.js index 98bfb2e64a..bc322f1a01 100644 --- a/src/components/select/Select.js +++ b/src/components/select/Select.js @@ -1465,7 +1465,7 @@ export default class SelectComponent extends ListComponent { } // Check to see if we need to save off the template data into our metadata. const templateValue = this.component.reference && value?._id ? value._id.toString() : value; - const shouldSaveData = !valueIsObject || this.component.reference; + const shouldSaveData = (!valueIsObject || this.component.reference) && !this.inDataTable; if (!_.isNil(templateValue) && shouldSaveData && this.templateData && this.templateData[templateValue] && this.root?.submission) { const submission = this.root.submission; if (!submission.metadata) {