@churchillliving/se-ui-toolkit 6.53.94 → 6.53.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1112,9 +1112,12 @@
1112
1112
  field.hyperlink.params = data;
1113
1113
  });
1114
1114
  }
1115
- function setAutoCompleteData(values, uniqueId) {
1115
+ function setAutoCompleteData(values, uniqueId, labelKey, ValueKey) {
1116
1116
  if ((values === null || values === void 0 ? void 0 : values.length) > 0) {
1117
- values = values === null || values === void 0 ? void 0 : values.map(function (rowValue) { return ({ label: rowValue, value: uniqueId }); });
1117
+ values = values === null || values === void 0 ? void 0 : values.map(function (rowValue) {
1118
+ var _k;
1119
+ return (_k = {}, _k[labelKey] = rowValue, _k[ValueKey] = uniqueId, _k);
1120
+ });
1118
1121
  }
1119
1122
  return values;
1120
1123
  }