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

Set value of component #5

Open
ThcDelux3 opened this issue Jan 8, 2022 · 0 comments
Open

Set value of component #5

ThcDelux3 opened this issue Jan 8, 2022 · 0 comments

Comments

@ThcDelux3
Copy link

ThcDelux3 commented Jan 8, 2022

Is there a way to set the Value of the autocomplete via the v-model?

code example:

<v-here-geocoder-autocomplete
  :here-api-key="hereApiKey"
  v-model="place"
  label="Search for any place..."
  debounce-time
  append-icon=""
  hide-no-data
  clearable
  outlined
/>

method() {
   hydrateForm() {
        this.place = "Deutschland, 10557, Berlin, Platz der Republik 1"
    }
}

when calling hydrateForm nothing happens :/

would this be possible by ref and calling an internal funtion to "force" the value?

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

1 participant