@fto-consult/expo-ui 1.3.10 → 1.3.12
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": "@fto-consult/expo-ui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.12",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@expo/html-elements": "^0.2.0",
|
|
62
62
|
"@expo/metro-config": "^0.4.0",
|
|
63
63
|
"@expo/webpack-config": "^0.17.2",
|
|
64
|
-
"@fto-consult/common": "^1.5.
|
|
64
|
+
"@fto-consult/common": "^1.5.12",
|
|
65
65
|
"@gorhom/portal": "^1.0.14",
|
|
66
66
|
"@react-native-async-storage/async-storage": "~1.17.3",
|
|
67
67
|
"@react-native-community/datetimepicker": "6.2.0",
|
|
@@ -85,6 +85,7 @@ const FormActionComponent = React.forwardRef(({
|
|
|
85
85
|
return;
|
|
86
86
|
}
|
|
87
87
|
const args = React.getOnPressArgs(event);
|
|
88
|
+
//console.log(args," is argggggg ",onPress)
|
|
88
89
|
if(!onPress) return;
|
|
89
90
|
const formInstance = getFormInstance(formName);
|
|
90
91
|
if(!formInstance || typeof formInstance.isValid != 'function' && isObj(formInstance.props)) return;
|
|
@@ -253,6 +253,7 @@ const SimpleSelect = React.forwardRef((props,ref)=>{
|
|
|
253
253
|
pointerEvents,
|
|
254
254
|
value,
|
|
255
255
|
autoHeight : false,
|
|
256
|
+
...rest,
|
|
256
257
|
onPress : context.open.bind(context),
|
|
257
258
|
...selectedObj,
|
|
258
259
|
}) :
|
|
@@ -261,6 +262,7 @@ const SimpleSelect = React.forwardRef((props,ref)=>{
|
|
|
261
262
|
useReadOnlyOpacity = {false}
|
|
262
263
|
affix = {false}
|
|
263
264
|
mode = {mode}
|
|
265
|
+
{...rest}
|
|
264
266
|
{...inputProps}
|
|
265
267
|
label = {defaultVal(label,text,inputProps.label)}
|
|
266
268
|
editable = {false}
|