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/dist/react-crud-mobile.cjs.development.js +3 -1
- 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 +3 -1
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIModal.tsx +5 -0
package/package.json
CHANGED
|
@@ -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}
|