I have little brain teaser/freezer.
I have following structure in Vue
'''
data:{
country-name:'',
countries: {
id:'',
country_name:'',
},
countries:[],
}
'''
country_name has binding with v-model text input and should be compared with array to check is the value already entered. I understand that I should use somekind of custom filter in Vue but I have not figured out how. Can anyone provide a solution?