My code is like this :
<div id="app">
<v-app id="inspire">
<div>
<v-autocomplete
label="Clubs"
:items="clubs"
item-text="name"
v-model="selectedClub"
></v-autocomplete>
</div>
<v-btn text color="primary" @click="submit">OK</v-btn>
</v-app>
</div>
Demo is this : https://codepen.io/positivethinking639/pen/GRRNzVE?&editable=true&editors=101
If submit method called, it display name selected. for example : mu
You can see in the console.log
I want if submit method called, it display object in array. So I get id and name
how can i do it?