table filter icon - add text after or before icon
Hello,
Is it possible to insert text next to or before the table filter icon?
Solution:Jump to solution
```php
$table
->filtersTriggerAction(
fn (Action $action) => $action->button()->label('New Filter Name')
);...
4 Replies
Solution
Error:
App\Filament\Resources\ActivityResource::App\Filament\Resources{closure}(): Argument #1 ($action) must be of type App\Filament\Resources\App\Filament\Resources\Action, Filament\Tables\Actions\Action given, called in C:\xampp\htdocs\siquis\vendor\filament\support\src\Concerns\EvaluatesClosures.php on line 35
Make sure you
use
the correct action class. Alias it if you have took its works with 'use Filament\Tables\Actions\Action'
thanks