Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Props fields doesn't work version 1.1.1 #148

Open
StefanosGiannakis opened this issue Mar 15, 2021 · 3 comments
Open

Props fields doesn't work version 1.1.1 #148

StefanosGiannakis opened this issue Mar 15, 2021 · 3 comments

Comments

@StefanosGiannakis
Copy link

StefanosGiannakis commented Mar 15, 2021

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"
            />`
@3bandiste
Copy link

I fixed this issue by adding fields "geometry" and "address_components" which are required

@StefanosGiannakis
Copy link
Author

I fixed this issue by adding fields "geometry" and "address_components" which are required

yes. this fixes this problem 👍

@lk77
Copy link

lk77 commented Mar 23, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants