@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.es.js
CHANGED
|
@@ -14850,7 +14850,7 @@ function MultiSelectFieldBinding({
|
|
|
14850
14850
|
disabled,
|
|
14851
14851
|
property,
|
|
14852
14852
|
includeDescription,
|
|
14853
|
-
size = "
|
|
14853
|
+
size = "large",
|
|
14854
14854
|
autoFocus
|
|
14855
14855
|
}) {
|
|
14856
14856
|
const of = property.of;
|
|
@@ -14889,7 +14889,7 @@ function MultiSelectFieldBinding({
|
|
|
14889
14889
|
] }, enumKey);
|
|
14890
14890
|
}, [enumValues, setValue, value]);
|
|
14891
14891
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14892
|
-
/* @__PURE__ */ jsx(MultiSelect, { className: "w-full mt-2", size
|
|
14892
|
+
/* @__PURE__ */ jsx(MultiSelect, { className: "w-full mt-2", size, value: validValue ? value.map((v_0) => v_0.toString()) : [], disabled, modalPopover: true, label: /* @__PURE__ */ 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) => {
|
|
14893
14893
|
let newValue;
|
|
14894
14894
|
if (of && of?.dataType === "number") {
|
|
14895
14895
|
newValue = updatedValue ? updatedValue.map((e_1) => parseFloat(e_1)) : [];
|