Answer the question
In order to leave comments, you need to log in
How does vue compare inputs with v-model inside it?
Actually the question is in the title.
I'm wondering how such a check is done with v-model. Let's say we have a Select with a large array of deep objects?
I just do my custom select, and when changing value, I iterate over the incoming array of objects with a deep check of the object of the current iteration and what is in value in order to display which object is selected in the placehoolder Select.
Does it make sense to make a regular Select inside my Select and do a v-model with it, so that vue itself does the comparison of objects, strings, etc.?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question