@fto-consult/expo-ui 7.17.2 → 7.17.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": "7.17.2",
3
+ "version": "7.17.3",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -321,7 +321,7 @@ export default class Field extends AppComponent {
321
321
  if(!isValidPhoneNumber(value)){
322
322
  return "Merci d'entrer un numéro de téléphone valide";
323
323
  }
324
- } else if(((this.props.allowWhiteSpaces === false) || ((defaultStr(this.type).toLowerCase().trim() ==="selecttabledata" || this.type ==='id' || this.type =='piece') && this.props.allowWhiteSpaces !== true))){
324
+ } else if(((this.props.allowWhiteSpaces === false) || ((this.type ==='id' || this.type =='piece') && this.props.allowWhiteSpaces !== true))){
325
325
  if((value.contains(" ") || !isValidDataFileName(value.replaceAll("@","").replaceAll(".","")))){
326
326
  return "Veuillez renseigner une valeur ne contenant pas d'espace ou de caractère accentués";
327
327
  }