Skip to content

Commit

Permalink
FIO-9205: fixed labels in select filter feature
Browse files Browse the repository at this point in the history
  • Loading branch information
KatrinKhilko authored and lane-formio committed Oct 30, 2024
1 parent a5fd8d5 commit c541feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,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) {
Expand Down

0 comments on commit c541feb

Please sign in to comment.