[Vuejs]-Vuetify search/filtering multiple data using checkbox cannot show the result

1👍

You should change the computed property like this:

computed:
{
  chosenStatuses()
  {
    return this.task.map(item => item.toUpperCase());
  },
  filteredData() 
  {
    return this.chosenStatuses.length > 0 
      ? this.recordList.filter(item => this.chosenStatuses.includes(item.status.toUpperCase()))
      : this.recordList;
  }
}

Leave a comment