DEV Community


Discussion on: VueJS - Different ways to implement v-model

srikanth597 profile image

Thanks for ur reply,
So if I understood correctly Vue automatically figure out v-model='text' as value prop automatically in component definition.

This arises wierd doubt in my mind, what happens if for some reason I want to have 2 v-model properties I need to pass to component.

I understood your 4&5 point explanation

Thread Thread
vcpablo profile image
Pablo Veiga Author

Hey @srikanth597 , in the latest released version of VueJS, v3, it is possible to bind multiple v-model’s
Take a look at this article to understand a bit better.

Forem Open with the Forem app