@firecms/core 3.0.0-canary.212 → 3.0.0-canary.213
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.umd.js
CHANGED
|
@@ -14851,7 +14851,7 @@
|
|
|
14851
14851
|
disabled,
|
|
14852
14852
|
property,
|
|
14853
14853
|
includeDescription,
|
|
14854
|
-
size = "
|
|
14854
|
+
size = "large",
|
|
14855
14855
|
autoFocus
|
|
14856
14856
|
}) {
|
|
14857
14857
|
const of = property.of;
|
|
@@ -14890,7 +14890,7 @@
|
|
|
14890
14890
|
] }, enumKey);
|
|
14891
14891
|
}, [enumValues, setValue, value]);
|
|
14892
14892
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14893
|
-
/* @__PURE__ */ jsxRuntime.jsx(ui.MultiSelect, { className: "w-full mt-2", size
|
|
14893
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.MultiSelect, { className: "w-full mt-2", size, value: validValue ? value.map((v_0) => v_0.toString()) : [], disabled, modalPopover: true, label: /* @__PURE__ */ jsxRuntime.jsx(LabelWithIconAndTooltip, { propertyKey, icon: getIconForProperty(property, "small"), required: property.validation?.required, title: property.name, className: "h-8 text-text-secondary dark:text-text-secondary-dark ml-3.5" }), onValueChange: (updatedValue) => {
|
|
14894
14894
|
let newValue;
|
|
14895
14895
|
if (of && of?.dataType === "number") {
|
|
14896
14896
|
newValue = updatedValue ? updatedValue.map((e_1) => parseFloat(e_1)) : [];
|