diff --git a/src/VueGoogleAutocomplete.vue b/src/VueGoogleAutocomplete.vue index bd4dde8..a413ebf 100644 --- a/src/VueGoogleAutocomplete.vue +++ b/src/VueGoogleAutocomplete.vue @@ -116,6 +116,9 @@ this.autocomplete.setComponentRestrictions({ country: this.country === null ? [] : this.country }); + }, + types: function(newVal, oldVal) { + this.autocomplete.setTypes([this.types]); } },