react-crud-mobile 1.3.28 → 1.3.30
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 +8 -3
- 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 +8 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UISelect.tsx +10 -2
|
@@ -527,7 +527,9 @@ function UISelect(props) {
|
|
|
527
527
|
color: modalColor
|
|
528
528
|
};
|
|
529
529
|
var onClick = function onClick(_ref) {
|
|
530
|
-
var
|
|
530
|
+
var crud = _ref.crud,
|
|
531
|
+
value = _ref.value;
|
|
532
|
+
console.log(crud);
|
|
531
533
|
var val = value;
|
|
532
534
|
if (element.isObject && val != null && val.object) {
|
|
533
535
|
scope.changeValue(val == null ? void 0 : val.object);
|
|
@@ -598,7 +600,10 @@ function UISelect(props) {
|
|
|
598
600
|
name: scope.getName('list'),
|
|
599
601
|
layout: "card",
|
|
600
602
|
click: onClick,
|
|
601
|
-
rowStyle: (
|
|
603
|
+
rowStyle: _extends({
|
|
604
|
+
paddingLeft: 15,
|
|
605
|
+
paddinRight: 15
|
|
606
|
+
}, (_scope$original = scope.original) == null ? void 0 : _scope$original.rowStyle),
|
|
602
607
|
children: /*#__PURE__*/jsxRuntime.jsx(UI.Value, {
|
|
603
608
|
value: "#{@this.label}"
|
|
604
609
|
})
|
|
@@ -606,7 +611,7 @@ function UISelect(props) {
|
|
|
606
611
|
})]
|
|
607
612
|
})]
|
|
608
613
|
})]
|
|
609
|
-
});
|
|
614
|
+
}, scope.getName(scope.getPart('modal') + "_" + modalVisible));
|
|
610
615
|
}
|
|
611
616
|
var styles$3 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
612
617
|
selectRoot: {
|