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
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.
dev.to/thomasfindlay/how-to-easily...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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
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.
dev.to/thomasfindlay/how-to-easily...