'App\Livewire\CertifiedCompanies' does not implement method 'makeFilamentTranslatableContentDriver'
Hi, I'm creating a livewire component in filament, but even though I follow all the instructions, I get this error. 'App\Livewire\CertifiedCompanies' does not implement method 'makeFilamentTranslatableContentDriver'
I'm adding my code, but it's super basic.
<?php
namespace App\Livewire;
use Livewire\Component;
use Filament\Tables\Table;
use App\Models\Certificate;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Contracts\HasTable;
use Filament\Tables\Concerns\InteractsWithTable;
class CertifiedCompanies extends Component implements HasTable
{
use InteractsWithTable;
public function table(Table $table): Table
{
return $table
->query(Certificate::query())
->columns([
TextColumn::make('name'),
])
->filters([
// ...
])
->actions([
// ...
])
->bulkActions([
// ...
]);
}
public function render()
{
return view('livewire.certified-companies');
}
}
Does anyone know what could be happening? I have the latest version of filament v3.2.117. The error appears on the class name line after adding the HasTableSolution:Jump to solution
I've already solved it.For those who have the same problem, even if you're not going to use the form, you also have to add the HasForms
1 Reply
Solution
I've already solved it.For those who have the same problem, even if you're not going to use the form, you also have to add the HasForms