@bsol-oss/react-datatable5 13.0.1-beta.20 → 13.0.1-beta.21

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
@@ -8182,9 +8182,12 @@ const SchemaRenderer = ({ schema, prefix, column, }) => {
8182
8182
  if (variant === 'enum-picker') {
8183
8183
  const { items } = colSchema;
8184
8184
  const { enum: enumItems } = items;
8185
+ // Use renderDisplay from parent schema only
8186
+ const renderDisplay = colSchema.renderDisplay;
8185
8187
  const enumSchema = {
8186
8188
  type: 'string',
8187
8189
  enum: enumItems,
8190
+ ...(renderDisplay && { renderDisplay }),
8188
8191
  };
8189
8192
  return (jsxRuntime.jsx(EnumPicker, { isMultiple: true, schema: enumSchema, prefix, column }));
8190
8193
  }
package/dist/index.mjs CHANGED
@@ -8162,9 +8162,12 @@ const SchemaRenderer = ({ schema, prefix, column, }) => {
8162
8162
  if (variant === 'enum-picker') {
8163
8163
  const { items } = colSchema;
8164
8164
  const { enum: enumItems } = items;
8165
+ // Use renderDisplay from parent schema only
8166
+ const renderDisplay = colSchema.renderDisplay;
8165
8167
  const enumSchema = {
8166
8168
  type: 'string',
8167
8169
  enum: enumItems,
8170
+ ...(renderDisplay && { renderDisplay }),
8168
8171
  };
8169
8172
  return (jsx(EnumPicker, { isMultiple: true, schema: enumSchema, prefix, column }));
8170
8173
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsol-oss/react-datatable5",
3
- "version": "13.0.1-beta.20",
3
+ "version": "13.0.1-beta.21",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",