react-table-edit 1.2.16 → 1.2.18

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.
package/dist/index.js CHANGED
@@ -1077,7 +1077,7 @@ var SelectTable = (0, import_react6.forwardRef)((props, ref) => {
1077
1077
  if (element) {
1078
1078
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("span", { children: [
1079
1079
  index === 0 ? "" : ", ",
1080
- element[fieldLabel ?? "label"]
1080
+ formatOptionLabel ? formatOptionLabel(element) : element[fieldLabel ?? "label"]
1081
1081
  ] }, index);
1082
1082
  }
1083
1083
  }) }) }) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: (0, import_classnames4.default)("select-value", { "d-none": searchTerm }), children: [
package/dist/index.mjs CHANGED
@@ -1040,7 +1040,7 @@ var SelectTable = forwardRef((props, ref) => {
1040
1040
  if (element) {
1041
1041
  return /* @__PURE__ */ jsxs5("span", { children: [
1042
1042
  index === 0 ? "" : ", ",
1043
- element[fieldLabel ?? "label"]
1043
+ formatOptionLabel ? formatOptionLabel(element) : element[fieldLabel ?? "label"]
1044
1044
  ] }, index);
1045
1045
  }
1046
1046
  }) }) }) : /* @__PURE__ */ jsx5(Fragment6, { children: /* @__PURE__ */ jsxs5("div", { className: classnames3("select-value", { "d-none": searchTerm }), children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-table-edit",
3
- "version": "1.2.16",
3
+ "version": "1.2.18",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",