lu-lowcode-package-form 0.11.18 → 0.11.19
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.cjs.js +202 -202
- package/dist/index.es.js +14982 -14980
- package/package.json +1 -1
- package/src/components/form-container/index.jsx +4 -2
package/package.json
CHANGED
@@ -412,7 +412,8 @@ const FormContainer = forwardRef(({ cols = 1, children, mode = "view" }, ref) =>
|
|
412
412
|
if (Array.isArray(childIdentifier) && result.length > withFillIndex) {
|
413
413
|
result = result[withFillIndex]
|
414
414
|
}
|
415
|
-
|
415
|
+
if (typeof result === "object" && result !== null)
|
416
|
+
result = JSON.stringify(result)
|
416
417
|
}
|
417
418
|
else if (typeof result === "object" && result !== null) {
|
418
419
|
result = JSON.stringify(result)
|
@@ -514,7 +515,8 @@ const FormContainer = forwardRef(({ cols = 1, children, mode = "view" }, ref) =>
|
|
514
515
|
if (Array.isArray(childIdentifier) && result.length > withFillIndex) {
|
515
516
|
result = result[withFillIndex]
|
516
517
|
}
|
517
|
-
|
518
|
+
if (typeof result === "object" && result !== null)
|
519
|
+
result = JSON.stringify(result)
|
518
520
|
}
|
519
521
|
else if (typeof result === "object" && result !== null) {
|
520
522
|
result = JSON.stringify(result)
|