Dynamic v-model with component :is
Hello i have this use case in my mind.
Let's assume i have a list of components like this ( For context this is a modal with customer info reviews, product bought etc)
And use component :is like this
What i have in mind is if it would be possible to make the v-model key dynamic depending on the component for example after refactoring the componentMap
Atm i have all the v-models which it works but idk if it is the best approach
Let's assume i have a list of components like this ( For context this is a modal with customer info reviews, product bought etc)
And use component :is like this
What i have in mind is if it would be possible to make the v-model key dynamic depending on the component for example after refactoring the componentMap
Atm i have all the v-models which it works but idk if it is the best approach