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
|
@@ -1543,9 +1543,9 @@ function UIElement(props) {
|
|
|
1543
1543
|
custom.onPress = onClick;
|
|
1544
1544
|
}
|
|
1545
1545
|
var Value = function Value() {
|
|
1546
|
-
var val =
|
|
1546
|
+
var val = scope.getDisplayValue();
|
|
1547
1547
|
if (val) {
|
|
1548
|
-
if (typeof val === 'object') {
|
|
1548
|
+
if (typeof val === 'object' || typeof val === 'function') {
|
|
1549
1549
|
return /*#__PURE__*/jsxRuntime.jsx(UIChildren, _extends({}, props, {
|
|
1550
1550
|
scope: scope,
|
|
1551
1551
|
crud: crud,
|
|
@@ -1554,8 +1554,7 @@ function UIElement(props) {
|
|
|
1554
1554
|
}));
|
|
1555
1555
|
}
|
|
1556
1556
|
return /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
1557
|
-
style:
|
|
1558
|
-
children: scope.getDisplayValue()
|
|
1557
|
+
style: getStyle('value')
|
|
1559
1558
|
});
|
|
1560
1559
|
}
|
|
1561
1560
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|