view for component [tablebuilder]`

<x-tablebuilder :data="$data" :pagination="{ perPage: 10 }" :search columns=" item_id, { label: 'Name', name: 'fr_name', resolve: row => row.fr.name }, { label: 'Status', name: 'status', filter: row => getStatusFilterOptions(), format: row => getStateUsing(row.status) }, transaction_type, created_at, amount, entry_type, closing_balance " @pagination:change="updateData" @search:change="updateData" /> if I use above code it showing error as : Unable to locate a class or view for component [tablebuilder]
8 Replies
Patrick Boivin
Is this from chatgpt?
Dan Harrin
Dan Harrin2y ago
jesus christ...
Hemanath
HemanathOP2y ago
yes...
Patrick Boivin
There are a few things that don't make sense in the code... My suggestion is to get more familiar with Laravel, Blade and Filament by reading the official documentation before trying to generate large amounts of code with ChatGPT and other tools like it.
Hemanath
HemanathOP2y ago
ok
Dan Harrin
Dan Harrin2y ago
everything doesnt make sense 😅
toeknee
toeknee2y ago
I'm glad it's not just me.... Dan we need to look at adding something, somewhre about DO NOT USE ChatGPT to generate any filamentphp code. Learn livewire/php first
Dan Harrin
Dan Harrin2y ago
its already in the rules i guess

Did you find this page helpful?