0
I am needing to return in a v-select Multiple only the values selected in an array, I am trying for some time without success, it returns the full object and as I am using in a form I have been having problems.
new Vue({
el:"#app",
data : {
criterios : '',
criterios_list: [
{'value' : 'S_cheque', 'label' : 'S/cheque'},
{'value' : 'S_cartao', 'label' : 'S/cartão Faturado'},
{'value' : 'Somente_cartao', 'label' : 'Somente cartão Faturado'}]
}
});
<v-select multiple v-model="criterios" :options="criterios_list"></v-select>
{{criterios}}
That component
v-select
is what library?– Sergio
@Sergio By the syntax is Vuetify.
– guastallaigor
@guastallaigor because I thought so too but I wanted to be sure before answering :)
– Sergio