You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Expected behavior
The defaults for both the empty state heading and description should appear on a list page that has no records.
Steps to reproduce
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
{
publicfunctiontable(Table$table): Table
{
return$table->emptyStateDescription('This is my custom description!');
}
}
Reproduction repository (issue will be closed if this is not valid)
Package
filament/filament
Package Version
3.2.127
Laravel Version
11.34.2
Livewire Version
v3
PHP Version
8.2.15
Problem description
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.
Expected behavior
The defaults for both the empty state heading and description should appear on a list page that has no records.
Steps to reproduce
Step 1 - Add the following to the provider file:
Step 2 - Go to an empty list page.
Note: The description does work if manually added to the list page.
Reproduction repository (issue will be closed if this is not valid)
https://github.com/RalphMRivera/filament-issue
Relevant log output
No response
Donate 💰 to fund this issue
The text was updated successfully, but these errors were encountered: