-
Notifications
You must be signed in to change notification settings - Fork 89
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
How set Value on page load #65
Comments
@salvatorelapi you need to specify autocomplete as the ref for the child component, after which
You can then set the value through:
|
@NguyenTheSon i've got the same issue |
@teddy-dubal you can use this.$refs.autocomplete.setValue solve the problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
initValue work if value is static
data(){
return {
locality_name: 'aas'
}
}
when locality_name is changed by other function value is alwais "aas".
In documentation we have this.$refs.autocomplete.setValue(string) but not work. How can fix ?
The text was updated successfully, but these errors were encountered: