filament/filament
3.2.127
11.34.2
v3
8.2.15
When configuring the default behavior for a table in a service provider, the empty state heading can be defined, but the empty state description can not.
The defaults for both the empty state heading and description should appear on a list page that has no records.
Step 1 - Add the following to the provider file:
Table::configureUsing(function (Table $table): void {
$table
->emptyStateDescription('This is my custom description!')
->emptyStateHeading('This is my custom heading!');
});
Step 2 - Go to an empty list page.
Note: The description does work if manually added to the list page.
class CustomerListPage extends ListRecords
{
public function table(Table $table): Table
{
return $table->emptyStateDescription('This is my custom description!');
}
}
https://github.com/RalphMRivera/filament-issue
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too