react-crud-mobile 1.3.8 → 1.3.10

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,5 +1,5 @@
1
1
  {
2
- "version": "1.3.8",
2
+ "version": "1.3.10",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -55,6 +55,9 @@ export default function UIModal(props: ChildType) {
55
55
 
56
56
  scope.dialogShow = (args?: MethodType) => {
57
57
  let { crud } = args;
58
+
59
+ console.log(index);
60
+
58
61
  let name = scope.getName('modal');
59
62
  let edit = args.edit === true;
60
63
  let def: any = {};
@@ -127,9 +130,11 @@ export default function UIModal(props: ChildType) {
127
130
 
128
131
  let color = Utils.nvl(headerStyle.color, 'white');
129
132
  let defaults = { color };
133
+ let key = `${scope.currentDialog.name}-${index}`;
130
134
 
131
135
  return (
132
136
  <Modal
137
+ key={key}
133
138
  animationType="slide"
134
139
  transparent={true}
135
140
  visible={modalVisible}