[Vuejs]-How to get an object in v-model? Vuetify

0👍

No, that would go against the core concept of Vue its self.

Instead, let’s use a getter:

get selectedItemObject() {
    return this.items.filter(obj => obj.property[0].long === this.selected)
}

Psueo code here, make sure to make it type and selector safe.

Leave a comment