react-crud-mobile 1.0.721 → 1.0.722
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/react-crud-mobile.cjs.development.js +3 -4
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +3 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +3 -3
package/package.json
CHANGED
|
@@ -325,10 +325,10 @@ export default function UIElement(props: ElementType) {
|
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
let Value = () => {
|
|
328
|
-
let val =
|
|
328
|
+
let val = scope.getDisplayValue();
|
|
329
329
|
|
|
330
330
|
if (val) {
|
|
331
|
-
if (typeof val === 'object') {
|
|
331
|
+
if (typeof val === 'object' || typeof val === 'function') {
|
|
332
332
|
return (
|
|
333
333
|
<UIChildren
|
|
334
334
|
{...props}
|
|
@@ -340,7 +340,7 @@ export default function UIElement(props: ElementType) {
|
|
|
340
340
|
</UIChildren>
|
|
341
341
|
);
|
|
342
342
|
}
|
|
343
|
-
return <Text style={
|
|
343
|
+
return <Text style={getStyle('value')}>{}</Text>;
|
|
344
344
|
}
|
|
345
345
|
return <></>;
|
|
346
346
|
};
|