react-crud-mobile 1.3.235 → 1.3.237

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.235",
3
+ "version": "1.3.237",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -46,7 +46,7 @@
46
46
  "@react-native-vector-icons/material-icons": "^0.0.1",
47
47
  "expo-status-bar": "~3.0.8",
48
48
  "react": "19.1.0",
49
- "react-crud-utils": "^0.1.410",
49
+ "react-crud-utils": "^0.1.411",
50
50
  "react-dom": "19.1.0",
51
51
  "react-native": "0.81.4",
52
52
  "react-native-draggable-flatlist": "^4.0.3",
@@ -645,7 +645,13 @@ export default function UIElement(props: ElementType) {
645
645
  def.search = crud;
646
646
  }
647
647
 
648
- let data = Utils.nvl(args.item, rowItem, {});
648
+ let crudData = crud.data;
649
+
650
+ if (event.send === false || event.data === false) {
651
+ crudData = {};
652
+ }
653
+
654
+ let data = Utils.nvl(args.item, rowItem, event.data, crudData, {});
649
655
 
650
656
  let d = CrudUtils.create('dialog', {
651
657
  parent: crud,