2👍
✅
Try with return in your filter function:
return jsonDataPersons.value.filter(
(person) => {
return person.FirstName.toLowerCase().includes(filter.toLowerCase())
})
or:
return jsonDataPersons.value.filter(
person => person.FirstName.toLowerCase().includes(filter.toLowerCase())
)
Source:stackexchange.com