getTabs()
public function getTabs(): array
{
return [
'all' => Tab::make('Active')->modifyQueryUsing(function ($query) {
return $query->where('status', 1);
}),
];
}
Method Filament\Forms\Components\Tabs\Tab::modifyQueryUsing does not exist.
What is the problem here?
2 Replies
You are using the wrong
Tab
component.Thank you so much