megseegmiller
megseegmiller
FFilament
Created by megseegmiller on 9/19/2024 in #❓┊help
Empty state on Dashboard Table Widget
Hello! I am trying to set emptyState properties on a table widget used on the dashboard, but the override values are not showing. The heading value is showing. I am fairly new to Livewire and Filament.
class OpenPendingMlsTickets extends BaseWidget
{
protected static ?string $heading = 'Open/Pending MLS Tickets';

protected $defaultPaginationPageOption = 5;

protected ?string $emptyStateDescription = 'No open or pending tickets';

protected ?string $emptyStateIcon = 'heroicon-o-check-circle';

protected function getTableQuery(): Builder
{
return UpdateRequest::where('status','<>','Closed')->with(['model.spec']);
}

protected function getTableColumns(): array
{
....
class OpenPendingMlsTickets extends BaseWidget
{
protected static ?string $heading = 'Open/Pending MLS Tickets';

protected $defaultPaginationPageOption = 5;

protected ?string $emptyStateDescription = 'No open or pending tickets';

protected ?string $emptyStateIcon = 'heroicon-o-check-circle';

protected function getTableQuery(): Builder
{
return UpdateRequest::where('status','<>','Closed')->with(['model.spec']);
}

protected function getTableColumns(): array
{
....
2 replies