[Vuejs]-Using same v-model to multiple elements

0👍

Instead of using three different select elements, create a computed that represents the source of the select. That computed function will look at compose.Recipient and return either a, b, or c. Use that computed as the source for the v-for (in a single select).

This way you’re only binding a single item to compose.RecipientID and you don’t have to worry about showing/hiding different select elements.

Leave a comment