ynotsoft-dynamic-form 1.0.119 → 1.0.120
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/dynamic-form.js +4 -4
- package/dist/dynamic-form.umd.cjs +23 -23
- package/package.json +1 -1
package/dist/dynamic-form.js
CHANGED
|
@@ -288,7 +288,7 @@ function gl({
|
|
|
288
288
|
(P || []).map((T) => ({
|
|
289
289
|
value: T[e.valueId || "value"] ?? T.value ?? T.id,
|
|
290
290
|
label: T[e.labelId || "label"] ?? T.label ?? T.name,
|
|
291
|
-
|
|
291
|
+
description: T.description
|
|
292
292
|
}))
|
|
293
293
|
);
|
|
294
294
|
return;
|
|
@@ -297,7 +297,7 @@ function gl({
|
|
|
297
297
|
const P = (e.options || []).map((T) => ({
|
|
298
298
|
value: T[e.valueId || "value"] || T.value || T.id,
|
|
299
299
|
label: T[e.labelId || "label"] || T.label || T.name,
|
|
300
|
-
|
|
300
|
+
description: T.description
|
|
301
301
|
}));
|
|
302
302
|
g(
|
|
303
303
|
A ? P.filter(
|
|
@@ -313,7 +313,7 @@ function gl({
|
|
|
313
313
|
ge.map((Y) => ({
|
|
314
314
|
value: Y[e.valueId || "value"] || Y.value || Y.id,
|
|
315
315
|
label: Y[e.labelId || "label"] || Y.label || Y.name,
|
|
316
|
-
|
|
316
|
+
description: Y.description
|
|
317
317
|
}))
|
|
318
318
|
);
|
|
319
319
|
} catch {
|
|
@@ -495,7 +495,7 @@ function gl({
|
|
|
495
495
|
children: [
|
|
496
496
|
/* @__PURE__ */ L("div", { className: "flex flex-col min-w-0", children: [
|
|
497
497
|
/* @__PURE__ */ l("span", { className: "truncate", children: A.label }),
|
|
498
|
-
A.
|
|
498
|
+
A.description && /* @__PURE__ */ l("span", { className: "text-xs text-muted-foreground truncate", children: A.description })
|
|
499
499
|
] }),
|
|
500
500
|
T && /* @__PURE__ */ l(kc, { className: "w-4 h-4 text-primary shrink-0 ml-2" })
|
|
501
501
|
]
|