Answer the question
In order to leave comments, you need to log in
How to remove duplicate objects in VueJS?
There is a select:
<option v-for="profile in profiles" :value="profile.brand.name">
{{ profile.brand.name }}
</option>
BrandName
BrandName2
BrandName2
BrandName3
methods: {
uniqueFilter: function(profile) {
if(profile.brand.name === profile.brand.name) {
как прописать?
}
}
}
BrandName
BrandName2
BrandName3
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