react-crud-mobile 1.3.140 → 1.3.142

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.140",
3
+ "version": "1.3.142",
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.385",
49
+ "react-crud-utils": "^0.1.386",
50
50
  "react-dom": "19.1.0",
51
51
  "react-native": "0.81.4",
52
52
  "react-native-draggable-flatlist": "^4.0.3",
@@ -99,7 +99,14 @@ export default function UIOrder(props: ChildType) {
99
99
  <DraggableFlatList
100
100
  data={data}
101
101
  renderItem={renderItem}
102
- keyExtractor={item => scope.getItemValue(item)}
102
+ keyExtractor={item => {
103
+ let key = scope.getItemValue(item);
104
+
105
+ if (original.props?.debug) {
106
+ console.log(key);
107
+ }
108
+ return key;
109
+ }}
103
110
  onDragEnd={({ data }) => {
104
111
  setData(data);
105
112
  scope.changeValue(data);