@fto-consult/expo-ui 2.16.2 → 2.16.3

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": "2.16.2",
3
+ "version": "2.16.3",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -113,7 +113,10 @@ export default class TableDataScreenComponent extends FormDataScreen{
113
113
  context.onNoValidate({...args,msg:message,message,context,validRule:context.getValidRule()});
114
114
  }
115
115
  }).catch((e)=>{
116
-
116
+ const message = defaultStr(e?.message,e?.msg);
117
+ if(message){
118
+ context.onNoValidate({...args,msg:message,message,error:e,context,validRule:context.getValidRule()});
119
+ }
117
120
  })
118
121
  }
119
122
  }