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

Unable to get input value #87

Open
alamenai opened this issue Apr 4, 2020 · 1 comment
Open

Unable to get input value #87

alamenai opened this issue Apr 4, 2020 · 1 comment

Comments

@alamenai
Copy link

alamenai commented Apr 4, 2020

 this.$root.$on("searchLocation", () => {
      console.log(this.$refs.autocomplete.xxx);
    });

I want to get the value provided by the user.

@arirah
Copy link

arirah commented May 12, 2020

@MenaiAla you can get value by using
prop
@selected="setSelectedValue"

methods:{
setSelectedValue(event){
console.log(event.display)
}
}

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

2 participants