Closed nerd-cs closed 3 years ago
x
- [X] bug report -> please search issues before submitting - [ ] feature request
Windows 10, Ubuntu 20.04
Angular v11
https://angular-material-extensions.github.io/google-maps-autocomplete/ Please just input the location and press Enter key
Enter
ERROR TypeError: Cannot read property 'forEach' of undefined
In the component and directive, I think error handing is required
if (place && place.address_components) { place.address_components.forEach(...) }
this has been fixed with the latest version actually.
Bug Report or Feature Request (mark with an
x
)OS and Version?
Windows 10, Ubuntu 20.04
Versions
Angular v11
Repro steps
https://angular-material-extensions.github.io/google-maps-autocomplete/ Please just input the location and press
Enter
keyThe log given by the failure
ERROR TypeError: Cannot read property 'forEach' of undefined
Desired functionality
In the component and directive, I think error handing is required
if (place && place.address_components) { place.address_components.forEach(...) }
Mention any other details that might be useful