F
Filamentβ€’2y ago
Hemanath

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
Patrick Boivinβ€’2y ago
Is this from chatgpt?
Dan Harrin
Dan Harrinβ€’2y ago
jesus christ...
Hemanath
HemanathOPβ€’2y ago
yes...
Patrick Boivin
Patrick Boivinβ€’2y ago
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
HemanathOPβ€’2y ago
ok
Dan Harrin
Dan Harrinβ€’2y ago
everything doesnt make sense πŸ˜…
toeknee
toekneeβ€’2y 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 Harrinβ€’2y ago
its already in the rules i guess
Want results from more Discord servers?
Add your server