Just found out the solution
if(searchFilter.value !=''){
return props.items.filter(item=>
item.supplier_customer.toLowerCase().includes(searchFilter.value.toLowerCase()) ||
item.account_name.toLowerCase().includes(searchFilter.value.toLowerCase()) ||
item.acc_no ===Number(searchFilter.value) )
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community