Support the ongoing development of Laravel.io →
Vue.js Laravel
Last updated 10 months ago.
0

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) )
    }  
0
Solution selected by @asthrea18

Sign in to participate in this thread!

Eventy

Your banner here too?

raymart asthrea18 Joined 28 Jan 2024

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.