react-native-google-places-autocomplete
react-native-google-places-autocomplete copied to clipboard
Bug Report
I am facing an issue when using GooglePlacesAutocomplete in my React Native app. When I add the following code, I get the error:
TypeError: Cannot read property 'filter' of undefined <GooglePlacesAutocomplete placeholder="Search for a place" fetchDetails={true} onPress={(data, details = null) => { if (!details) { console.error('No details available'); return; } console.log('Selected Place Data:', data); console.log('Selected Place Details:', details); }} query={{ key: GOOGLE_MAPS_API_KEY, language: 'en', }} debounce={200} />