Vue filter array with object property

December 9, 2020

Filter the array of objects with object property and display the another property of the same object

 <td  v-bind:key="rate" v-for="rate in tax.rates.filter(item => {
  return item.status=='active'})">
  {{rate.value}}
 </td>

We are going to display the value of the rate whose item.status=='active'