vue-google-autocomplete
vue-google-autocomplete copied to clipboard
Props fields doesn't work version 1.1.1
Hey. Thanks for your work and your time. When I am trying to pass this new prop :fileds="myFields" to the component the placechanged event doesn't get triggered.
`<vue-google-autocomplete
id="map"
ref="address"
classname="form-control form-control-lg input-group"
:placeholder="$t('ad_form.address_placeholder')"
v-on:placechanged="getAddressData"
country="gr"
types="geocode"
:fields="apiFieldsToGet"
v-on:error="handleError"
/>`
I fixed this issue by adding fields "geometry" and "address_components" which are required
I fixed this issue by adding fields "geometry" and "address_components" which are required
yes. this fixes this problem 👍
Hello,
i have the same type of problem,
i use vee-validate 2 which define a global fields computed property, so i'm unable to use this prop directly, since they are named exactly the same.
vue.esm.js?a026:629 [Vue warn]: The computed property "fields" is already defined as a prop.
i needed to rename the vee validate fields computed property to something else