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
|
@@ -519,7 +519,9 @@ function UISelect(props) {
|
|
|
519
519
|
color: modalColor
|
|
520
520
|
};
|
|
521
521
|
var onClick = function onClick(_ref) {
|
|
522
|
-
var
|
|
522
|
+
var crud = _ref.crud,
|
|
523
|
+
value = _ref.value;
|
|
524
|
+
console.log(crud);
|
|
523
525
|
var val = value;
|
|
524
526
|
if (element.isObject && val != null && val.object) {
|
|
525
527
|
scope.changeValue(val == null ? void 0 : val.object);
|
|
@@ -590,7 +592,10 @@ function UISelect(props) {
|
|
|
590
592
|
name: scope.getName('list'),
|
|
591
593
|
layout: "card",
|
|
592
594
|
click: onClick,
|
|
593
|
-
rowStyle: (
|
|
595
|
+
rowStyle: _extends({
|
|
596
|
+
paddingLeft: 15,
|
|
597
|
+
paddinRight: 15
|
|
598
|
+
}, (_scope$original = scope.original) == null ? void 0 : _scope$original.rowStyle),
|
|
594
599
|
children: /*#__PURE__*/jsx(UI.Value, {
|
|
595
600
|
value: "#{@this.label}"
|
|
596
601
|
})
|
|
@@ -598,7 +603,7 @@ function UISelect(props) {
|
|
|
598
603
|
})]
|
|
599
604
|
})]
|
|
600
605
|
})]
|
|
601
|
-
});
|
|
606
|
+
}, scope.getName(scope.getPart('modal') + "_" + modalVisible));
|
|
602
607
|
}
|
|
603
608
|
var styles$3 = /*#__PURE__*/StyleSheet.create({
|
|
604
609
|
selectRoot: {
|