[Vuejs]-Computed filtering not working

1👍

You cannot filter over string. In your data movies should be an empty array, not empty string.

Also, be sure that response.body is an array too.

👤madg34

1👍

You initiate the movies as an empty string, and a string doesn’t have a .find() method. Use an empty array instead

Leave a comment