MadimetjaShika / vuetify-google-autocomplete

A Vuetify ready Vue.js autosuggest component for the Google Places API.
https://madimetjashika.github.io/vuetify-google-autocomplete/
MIT License
97 stars 53 forks source link

Types is restricted by default #111

Open mhimi1 opened 4 years ago

mhimi1 commented 4 years ago

Hi,

It would be better if the results were unrestricted (by place type), however the library is setting a default value for type as String 'address' as a result of which the results are restricted by default. This can be overridden by 'another restriction', however, it seems there is no way to undo the default restriction? It would probably be better to set the default string as '', so that no restrictions are set by default. Whoever wants to restrict the returned results can then set this value through the prop.