[Vuejs]-How to bind id value but display name value using Buefy Autocomplete?

0👍

When you select a suggestion from the Autocomplete dropdown it doesn’t just select the id or the name, it selects the whole object {...}.

So once you have it selected you should be able to choose which field you want to use from there on, in your case, the id.

In a Codepen of one of the examples you can see that the whole object is selected – https://codepen.io/pen?&editable=true&editors=101

Are you sure you’re only getting the id and not the whole object?

Leave a comment