Autocomplete with Google Places API Web Service - not showing dropdown list
#1.844 aberto em 9 de abr. de 2018
Métricas do repositório
- Stars
- (8.676 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Hi.
I try to combine Autocomplete component with source data from Google Places API. My problem is that dropdown list with suggestions is not being shown.
For example, I type mainstreet 7. I expect to get suggestions for this street and represent them. So, state.value = 'mainstreet 7' And state.source = [ "7 West Main Street, Alhambra, CA, USA", "7 South Main Street, Akron, OH, USA", "7 Mainstreet, Hopkins, MN, USA" ...and etc ]
The component defined like this:
The problem is that there is NO exact match between the typed value to the source array values.
How I solve this issue? Please suggest