@fto-consult/expo-ui 6.71.0 → 6.71.2

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": "6.71.0",
3
+ "version": "6.71.2",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -173,7 +173,7 @@ export default class Filter extends AppComponent {
173
173
  }
174
174
  let defaultValue = defaultVal(this.props.defaultValue);
175
175
  operator = defaultVal(operator,"$and");
176
- if(actions == _inActions || type.contains("select") || this.props.multiple){
176
+ if(actions == _inActions || type.contains("select")){
177
177
  defaultValue = isNonNullString(defaultValue)? defaultValue.split(",") : Array.isArray(defaultValue)? defaultValue : !isNullOrEmpty(defaultValue)? [defaultValue] : {};
178
178
  }
179
179
  return {actions,action,ignoreCase,operator,operators,manualRun:defaultBool(this.props.manualRun,false),defaultValue,isTextFilter};
@@ -100,7 +100,7 @@ export default function MainScreenScreenWithoutAuthContainer(props) {
100
100
  const Wrapper = React.useMemo(()=>modal ? PortalCP : React.Fragment,[modal]);
101
101
  const WrapperProps = modal? {screenName} : {};
102
102
  const portalId = uniqid("screeen-container-"+screenName);
103
- return <Wrapper {...WrapperProps}>
103
+ return <Wrapper {...WrapperProps} key={screenName}>
104
104
  <View testID={testID+"_ScreenContentContainer"} id={portalId} {...containerProps} style={[styles.container,{backgroundColor},modal && styles.modal,containerProps.style]} >
105
105
  <KeyboardAvoidingView testID={testID} {...keyboardAvoidingViewProps} style={[styles.keyboardAvoidingView,keyboardAvoidingViewProps.style]}>
106
106
  {withStatusBar !== false ? <StatusBar/> : null}
@@ -134,8 +134,8 @@ export default function MainScreenScreenWithoutAuthContainer(props) {
134
134
  </Wrapper>
135
135
  }
136
136
 
137
- const PortalCP = ({children})=>{
138
- return <RNPortal>
137
+ const PortalCP = ({children,screenName})=>{
138
+ return <RNPortal key={screenName}>
139
139
  {children}
140
140
  </RNPortal>
141
141
  }