Answer the question
In order to leave comments, you need to log in
How to get this from a higher context level?
Perhaps the description is a little wrong, but I do not know how to describe it more accurately.
I use Vue, the component has data:
data: function () {
return{
suggestionOptions: {
onSelect (suggestion) {
document.querySelector('#index').value = suggestion.data.postal_code;
},
},
}
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question