1๐
โ
I think the answer is simply that you are missing the () in theโv-forโ. So, instead of having this:
v-for="(record, index) of filteredRecords"
You should have this:
v-for="(record, index) of filteredRecords()"
0๐
The problem is not in the filtering, it is in the vue section:
Instead of
v-for="(record, index) of filteredRecords"
use
v-for="(record, index) in filteredRecords"
Source:stackexchange.com