After having upgraded all my dependencies, including this library and its dependency react-native-autocomplete-input, I'm facing the following error :
Error: Objects are not valid as a React child (found: object with keys {id, first_name, last_name, locale, code, trigram, _model, name}). If you meant to render a collection of children, use an array instead.
This is due to the fact that since version 5.x of react-native-autocomplete-input, the renderItem has been moved within the flatListProps like so :
After having upgraded all my dependencies, including this library and its dependency
react-native-autocomplete-input
, I'm facing the following error :This is due to the fact that since version 5.x of
react-native-autocomplete-input
, therenderItem
has been moved within theflatListProps
like so :With this update, this library is compatible with
react-native-autocomplete-input
5.x.Either this lib should stick to the
react-native-autocomplete-input
4.2.x version or be patched with the above.