[Vuejs]-How to filter search input for two categories?

0๐Ÿ‘

โœ…

I found a very simple way. Just change:

item.title.toLowerCase().includes(v)

to:

item.title.toLowerCase().includes(v) || item.location.toLowerCase().includes(v))

Leave a comment